logo separator

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

From Greg Troxel gdt at ir.bbn.com on Tue Jan 3 13:54:16 GMT 2012

WanMil <wmgcnfg at web.de> writes:

> 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.

Isn't that the whole point of the larger bounding box, to not lose roads
which cross at corners?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120103/4a5331d9/attachment.bin 


More information about the mkgmap-dev mailing list