[mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Jan 13 16:52:09 GMT 2018
I think I found the bug. The tile contains negative heights (~170m) and this causes trouble in the calculation of the needed bytes to store the height. See http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4051 Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com> Gesendet: Samstag, 13. Januar 2018 16:57:04 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading Hi Frank, I've compared results from mkgmap with those from BuildDEMFile. Both produce different errors, so that should help. See http://files.mkgmap.org.uk/download/391/baddem3.zip The script produces a gmap folder with two different DEM files, 63240001_2.DEM is from BuildDEMFile and seems to do more harm ;-) Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com> Gesendet: Samstag, 13. Januar 2018 16:33:31 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading Hi Minko, I can reproduce the wrong data with your file with just --dem-dists=26512 @Frank: I've written the attached data with the attached patch. Hope you can extract the values you need. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser at hotmail.com> Gesendet: Samstag, 13. Januar 2018 15:35:17 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading Hi, Unfortunately older mkgmap versions showed the same behaviour, only smaller grey tiles. I've noticed that my other Germany Benelux map from last week had similar issue, only those greay tiles were not so big as in the video. Now I have tested 4048 again but with slithly modified dem distances. That grey area seems gone, but I got something weird in return 😉 see attachment. It seems all happening in the same area, around Tournai. I've uploaded this tile here http://mijndev.openstreetmap.nl/~ligfietser/mkgmap/ My values are now: dem-dists: 3312,3312,9936,13248,26512 overview-dem-dist=88368 ________________________________ Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> namens Frank Stinner <Frank.Stinner at kabelmail.de> Verzonden: zaterdag 13 januari 2018 05:09:35 Aan: mkgmap-dev at lists.mkgmap.org.uk Onderwerp: Re: [mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading Hi Gerd, yes, at first we have to identify the maptile. Perhaps can Minko help. Thats a "trial and error" play. Perhaps with comment out in areas.list? You ask for the input format? It's an ordinary textfile. One text-line for one data-line. The values in a line are separated by space, comma, semicolon or tab. If this file have q.e. 200 x 150 values, create BuildDEMFile 3 x 4 DEM-Tiles. As next i extract with the simple perl-script extracttiles.pl a range of tiles, encode this whith BuildDEMFile --dem="%TESTMAPDIR%\Product1\99950001\99950001.DEM" -O --data=dem.data --lastcolstd=false --left=0 --top=0.999991893768310546875 --dlon=0.0003 --dlat=0.0003 and see on the testmap 99950001.osm, what's going on. It's only "trial and error". Frank --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading
- Next message: [mkgmap-dev] mkgmap r4048 seems to fix problem with hill shading
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list