[mkgmap-dev] DEM/Contourlines causing grey (empty) squares at the border of maps
From Felix Hartmann extremecarver at gmail.com on Mon Apr 30 14:22:48 BST 2018
I'm not fully sure it's because of the poly file - but it's clearly not based on wrong/broken input data. I created the Alps and Switzerland equally, and all of Switzerland is part of the Alps map too. Alps work, Switzerland does not. Strangely though changing the style-file a little - it may mean a map does not have the problem - so I think it's maybe only partly related to the poly file? On 30 April 2018 at 15:04, Felix Hartmann <extremecarver at gmail.com> wrote: > Hi Gerd - can you find a pattern here? > Folllowing are the polygons of 10 broken (out of a sample of 94 rather > "small" countries) poly files. > https://openmtbmap.orgbroken_contours.zip > > it's > Germany, Bavaria, Czech, Finland, Niedersachsen, Nord-Rhein-Westfalen, > Poland, Paraguay, Romania > Switzerland, Sweden > > The remaining 84 countries work fine in Basecamp (leaves about 60 > countries which are usually pretty big and I did not care to check as it > means zooming in to 30km, sometimes 50km and pan around all borders of the > map in Basecamp to spot if it's working or not). > > On 27 April 2018 at 09:27, Gerd Petermann <gpetermann_muenchen at hotmail.com > > wrote: > >> Hi Felix, >> >> a convex polygons doesn't seem to solve it. I tried with the attached and >> still see those problems :-( >> >> Gerd >> >> ________________________________________ >> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von >> Gerd Petermann <gpetermann_muenchen at hotmail.com> >> Gesendet: Freitag, 27. April 2018 08:53:28 >> An: Development list for mkgmap >> Betreff: Re: [mkgmap-dev] DEM/Contourlines causing grey (empty) squares >> at the border of maps >> >> Hi Felix, >> >> I think it is the shape of the poly that matters. Triangular shapes seem >> to be problematic. Pattern in DEM would be something like >> UUUUUUUUUUUUU >> UUUUUUVUUUUUU >> UUUUUVVUUUUUU >> UUUUVVVUUUUUU >> UUUVVVVVUUUUU >> with U for undefined and V for knwon height. >> >> If you use the (rectilinear) area.poly created by splitter when splitting >> the geofabrik OSM files you will not see this pattern as often. >> Maybe it would be enough to change the poly so that it is convex, not >> concave: >> https://en.wikipedia.org/wiki/Concave_polygon >> >> And yes, I can confirm the missing altitude values with gray squares. >> >> Gerd >> >> ________________________________________ >> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von >> Felix Hartmann <extremecarver at gmail.com> >> Gesendet: Freitag, 27. April 2018 08:42:52 >> An: Development list for mkgmap >> Betreff: Re: [mkgmap-dev] DEM/Contourlines causing grey (empty) squares >> at the border of maps >> >> I guess if the poly is a bit bigger - it would not happen? Could you try >> by enlarging the poly 2km to the outside? Not using a poly at all would be >> really big or am I wrong? Which normal poly do you mean? The area.poly >> created while splitting the geofabrik osm files? Or the area.poly created >> while splitting the phyghtmap osm.pbf contourlines file? >> >> I also noticed that while any of that grey square is visible in Basecamp >> - Basecamp does not show altitude in the lower left corner anymore. >> >> On 27 April 2018 at 07:40, Gerd Petermann <gpetermann_muenchen at hotmail.c >> om<mailto:gpetermann_muenchen at hotmail.com>> wrote: >> Hi Felix, >> >> hmm, yes, that really looks bad. At the moment I only have work-arounds: >> 1) Add additional DEM layers so that the error only shows up in smaller >> rectangles. >> 2) Don't use --dem-poly, I think this causes the trouble. Or maybe try >> the poly file created for the normal tiles. >> >> I guess that the encoder still doesn't work 100% correctly, but I have no >> idea how to fix that and Frank Stinner seems to have stopped his work on >> https://github.com/FSofTlpz/Garmin-DEM-Build >> >> Gerd >> >> ________________________________________ >> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto: >> mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Gerd Petermann < >> gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>> >> Gesendet: Donnerstag, 26. April 2018 20:53:21 >> An: Development list for mkgmap >> Betreff: Re: [mkgmap-dev] DEM/Contourlines causing grey (empty) squares >> at the border of maps >> >> Hi Felix, >> >> I'll have a closer look tomorrow. IIRC this also happens with Garmin maps. >> >> Gerd >> >> ________________________________________ >> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto: >> mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann < >> extremecarver at gmail.com<mailto:extremecarver at gmail.com>> >> Gesendet: Donnerstag, 26. April 2018 20:23:11 >> An: Development list for mkgmap >> Betreff: Re: [mkgmap-dev] DEM/Contourlines causing grey (empty) squares >> at the border of maps >> >> well maybe it's more common - like in 1/5 maps if the include 1" DEM data >> - only happens if map includes DEM. >> >> On 26 April 2018 at 20:20, Felix Hartmann <extremecarver at gmail.com<mailt >> o:extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto: >> extremecarver at gmail.com>>> wrote: >> In some cases at the borders of maps - there appear grey rectangles in >> Basecamp and Mapsource (well do not mind Mapsource much - it's very >> outdated) - this only appears if using a DEM/contourline overview... >> >> Sorry as Basecamp is windows only - only windows installer/Mac OSX gmap >> file here: >> https://openmtbmap.org/mtbbayern.exe >> or >> https://openmtbmap.org/mtbbayern_macosx.7z >> >> Without contourlines the map works fine (mapsetx.tdb...) >> Contourlines map alone also does not work (mapsetz.tdb...) >> >> >> So the bug is clearly in the transparent DEM/contourlines map. Sometimes >> simply rendering the contourlines map again and the bug is gone... >> >> >> Seems to be not that common but also not that rare (maybe in 1 out of 20 >> maps) >> >> -- >> Felix Hartman - Openmtbmap.org & VeloMap.org >> Schusterbergweg 32/8 >> 6020 Innsbruck >> Austria - Österreich >> >> >> >> -- >> Felix Hartman - Openmtbmap.org & VeloMap.org >> Schusterbergweg 32/8 >> 6020 Innsbruck >> Austria - Österreich >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk> >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk> >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> >> >> >> -- >> Felix Hartman - Openmtbmap.org & VeloMap.org >> Schusterbergweg 32/8 >> 6020 Innsbruck >> Austria - Österreich >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > > > -- > Felix Hartman - Openmtbmap.org & VeloMap.org > Schusterbergweg 32/8 > 6020 Innsbruck > Austria - Österreich > -- Felix Hartman - Openmtbmap.org & VeloMap.org Schusterbergweg 32/8 6020 Innsbruck Austria - Österreich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180430/8629e8fb/attachment-0001.html>
- Previous message: [mkgmap-dev] DEM/Contourlines causing grey (empty) squares at the border of maps
- Next message: [mkgmap-dev] DEM/Contourlines causing grey (empty) squares at the border of maps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list