logo separator

[mkgmap-dev] Proof of concept for better sea in overview map

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jun 6 15:07:54 BST 2021

Hi,

forgot to mention that the maps were created with these options:
--generate-sea=multipolygon,floodblocker --preserve-element-order --order-by-decreasing-area --allow-reverse-merge  -c e:\xxx\template.args

for the data in https://files.mkgmap.org.uk/download/507/xxx.zip

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <GPetermann_muenchen at hotmail.com>
Gesendet: Sonntag, 6. Juni 2021 16:02
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Proof of concept for better sea in overview map

Hi,

the attached patch improves the overview map, but so far only when precomp-sea is NOT used.
I tested it with --generate-sea=multipolygon,floodblocker  so that mkgmap really has a multipolygon with the natual=sea data.

For each level in the overview map it uses the original multipolygon data to compute the rings which will might visible at the given resolution. This requires more time compared to the current code but the result is much better and some fine tuning is possible.

To be able to use this also with --precomp-sea we need some changes in the code which generates sea.zip so that one multipolygon relation for each tile is stored.

I've uploaded the results here: https://files.mkgmap.org.uk/download/511/compare.7z
What do you think?

Gerd




More information about the mkgmap-dev mailing list