logo separator

[mkgmap-dev] tile takes very long time to generate

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Mar 18 10:21:54 GMT 2021

Hi all,

I still struggle with the unit test because it's hard to say what we want to get in special cases.
The current code doesn't really work in the way that I expected. I always thought that roles like "inner" and "outer" are completely ignored and that mkgmap calculates and uses the correct roles. This is only partly true. See attached file with MP were a forest contains a lake that contains a forest.
For a nested polygon where the innermost ring has wrong role "inner" this doesn't work as expected. The forest  in the lake is ignored. With the correct role "outer" it is not ignored. No idea if this is intended or an error. Fortunately nested MP are very rare.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Montag, 15. März 2021 17:15
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] tile takes very long time to generate

Hi Gerd

You might consider the some of the ideas here as improvements to the
initial parts of MP processing.

This is a patch based on trunk rather than the new branch. It isn't
structured as for final usage, rather for minimising the spread of
changes, working in parallel with the existing code so I could see if
found the same MP problems as the existing code and having clearly
identifiable diagnostics in the log file.

Ticker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp-nexted-wrong-role.osm
Type: application/octet-stream
Size: 2314 bytes
Desc: mp-nexted-wrong-role.osm
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210318/70d0f4f2/attachment.obj>


More information about the mkgmap-dev mailing list