logo separator

[mkgmap-dev] Minimum resolution in polygons style

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Dec 21 07:48:55 GMT 2016

Hi all,


while debugging the problem reported by Arndt Röhrig

http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2016q4/025471.html


I noticed that his style adds all polygons with "min resolution 10" like this:

landuse=basin [0x53 resolution 10]


Up to now I thought this is just causing more CPU load :

The polygon is processed for each (low) resolution  and after many calculations it is typically "thrown away" because it

is reduced to a single point in the


I think we can easily change mkgmap to calculate a proper "min res" value

for shapes depending on the actual size at resolution 24.

Probably that would also be useful for lines.


Any thoughts?


Gerd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20161221/f7e36593/attachment.html>


More information about the mkgmap-dev mailing list