logo separator

[mkgmap-dev] [PATCH v1] Performance improvement by removing unused elements before the style processing

From WanMil wmgcnfg at web.de on Mon Jan 2 22:05:36 GMT 2012

Hi,

this is another performance improvement:

Usually the mkgmap input tiles are larger than the processed bounding 
box (splitter parameter overlap). So there are much many elements which 
are processed but thrown away at a late step in mkgmap.

The patch tries to remove them much earlier before the style files are 
processed and before the LocationHook starts (which ignores them but 
that must also be calculated).

The patch contains one drawback:
Ways which have all its points outside the bounding box of the tile but 
which cross the tile are also removed. If that's a point the patch must 
be improved.

Have fun!
WanMil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_unused_elements_v1.patch
Type: text/x-patch
Size: 2689 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120102/de73f824/attachment.bin 


More information about the mkgmap-dev mailing list