logo separator

[mkgmap-dev] [PATCH v1] Further reduction of the builtin-tag-list

From WanMil wmgcnfg at web.de on Wed Oct 19 21:36:23 BST 2011

The patch removes the two tags "type" and "maxspeed" from the 
builtin-tag-list.

This reduces memory requirements (a few) if these tags are not required.

Tag "type":
The tag is mandatory for relations. So I think it's ok to implement a 
rule in the relation loader that keeps the "type" tag. For nodes and 
ways the type tag is used only if it is referenced in the style file.

Tag "maxspeed":
In case the ignore-maxspeeds option is set the maxspeed tag is loaded 
anyhow. The new MaxspeedHook adds the maxspeed tag to the used tags only 
if the ignore-maxspeeds option is not set.


Any objections or comments?

WanMil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reduce_builtin_tags_v1.patch
Type: text/x-patch
Size: 4005 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111019/808513d9/attachment.bin 


More information about the mkgmap-dev mailing list