logo separator

[mkgmap-dev] [PATCH v1] Avoid needless multipolygon handling

From WanMil wmgcnfg at web.de on Sun Apr 10 20:51:00 BST 2011

The patch (based on an idea of Marko) checks if a multipolygon and its 
potential outer members has tags that are defined in the style. If not 
the multipolygon processing is not performed.

This reduces processing time for small styles with a limited set of tags.


The effect is not as big as one might expect. Although the style 
contains one tag only (example maxheight=*) the 53 tags defined in 
resources/styles/builtin-tag-list are additionally loaded. This reduces 
the number of skipped multipolygons quite much.
Anyhow a little improvement is an improvement :-)

WanMil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp_avoid_needless_processing_v1.patch
Type: text/x-patch
Size: 1621 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110410/d5c6af24/attachment.bin 


More information about the mkgmap-dev mailing list