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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to