logo separator

[mkgmap-dev] [PATCH] better used tags handling in rules

From Elrond elrond+openstreetmap.org at samba-tng.org on Fri Jun 18 22:24:31 BST 2010

Hi everybody,

I intend to commit this sometime soon (in a week, maybe
earlier), so I'm looking for some comments or even testing.

Issue: If you have a style A that has a base style B, only
the main tags from A are considered. This means, that many
rules from B are not used.

I haven't tracked down exactly why and where it happens,
but I assume, that some code cleans up the osm data
straight after/while reading it and removes any "useless"
tags. To save memory.

Anyway, I found a solution: Update the "usedTags" of the
RuleSet after merging in the base-RuleSet.

The patch is simple, I think.


    Elrond
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules-usedtags-1.diff
Type: text/x-diff
Size: 559 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100618/8b797e50/attachment.bin 


More information about the mkgmap-dev mailing list