[mkgmap-dev] precomp sea test environment
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Sep 12 11:17:41 BST 2020
Hi all, it seems the correctness of the input files provided at [1] is not as good as Wanmil and I thought. Wrong data like a single closed way tagged natural=coastline near the center of Africa was not removed. I've corrected it a few minutes ago, see version 1 of https://www.openstreetmap.org/way/845273583. Still working on a simple check ... ciao, Gerd [1] https://osmdata.openstreetmap.de/data/land-polygons.html ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com> Gesendet: Donnerstag, 10. September 2020 20:20 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] precomp sea test environment Hi all, OK, I'll try to find a good solution. For hgt files we have the file resources/known-hgt.bin which tells mkgmap which *.hgt files it should be able to find. I think the same can be done for those rectangles which will always be "land" in the index.txt file. I just have to filter those which are close to the coast so that they might change. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <carlos at alternativaslibres.org> Gesendet: Donnerstag, 10. September 2020 18:49 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] precomp sea test environment I also face wrong sea from time to time. I agree a pre-check would be much useful. Also your sea-check style+empty tiles, thanks Gerd. El 10/9/20 a las 11:27, Joris Bo escribió: > Hi Gerd > > I recently (24-8-2020) had the same problem. The bad sea.zip was about 14Mb smaller then usual. > A pre-check and warning would be great. > > Kind Regards > Joris > > -----Oorspronkelijk bericht----- > Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> Namens Gerd Petermann > Verzonden: donderdag 10 september 2020 11:16 > Aan: mkgmap-dev at lists.mkgmap.org.uk > Onderwerp: [mkgmap-dev] precomp sea test environment > > Hi all, > > today I stumbled over a bad sea.zip file that was created in 2019-11-08. Most of the two Americas was flooded. > I wondered if I should add some code to mkgmap to detect this case? Eg. mkgmap could check some points which are clearly inside continents. > > Besides that it is rather simple to produce a test style for the sea which just creates an overview map. I've created some empty tiles which cover full planet and used them to create an overview map containing only sea polygons. This compilation takes ~1 minute. A quick glance at osmmap.img should show the familiar shapes of the continents, if not something is wrong and that probably means that the precomp-sea data is bad. > I've attached this, maybe it is of some help. > > Gerd > > > > > _______________________________________________ > 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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] precomp sea test environment
- Next message: [mkgmap-dev] precomp sea test environment
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list