logo separator

[mkgmap-dev] Please try branch check-precomp-sea

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Apr 24 14:12:53 BST 2021

Hi all,

just noticed that this branch was not merged because I got no feedback. A few weeks ago Eric complained about bad precomp-sea data and a lot of wasted time to find it. Any reason why nobody is interested?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Donnerstag, 17. September 2020 11:34
An: Development list for mkgmap
Betreff: [mkgmap-dev] Please try branch check-precomp-sea

Hi all,

I've implemented some basic checks to detect large flooded areas in the precomp-sea data in this new branch.
A link to the latest binary (r4579 as of now) is a the bottom of the normal download page :
http://www.mkgmap.org.uk/download/mkgmap.html

- If PrecompSeaGenerator is used to calculate the sea data and the index check fails a warning is printed and the program ends with rc -1.
- If mkgmap is used with a "dubious" sea.zip one or more messages about the problematic areas are written and the program stops with an ExitException
unless option --x-check-precomp-sea=0 is given before the first input file.

The index test is normally performed once for the whole planet, so it doesn't care about the actual tile boundaries. If e.g. only a part of Australia is flooded and you create a map for the UK you'll still see the errors.

BTW: The current code (also in trunk version) doesn't support to use --precomp-sea with different values. Results are rather unpredictable.

Gerd

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list