logo separator

[mkgmap-dev] [patch] add ability to have unlimited ValueFilter chains

From Ben Konrath ben at bagu.org on Tue May 22 19:46:00 BST 2012

Hi,

Here's a patch to add ability to have unlimited ValueFilter chains.
I'm using this with the SubstitutionFilter to normalize the road types
with a rule like this:

highway=* { name '${name|subst: Street=> St|subst: Avenue=> Ave|subst:
Road=> Rd}' }

Any thoughts on this? I'd be happy to hear about a better way to
accomplish the same task if this isn't good.

Thanks, Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkgmap-unlimited-value-filter-chain.patch
Type: application/octet-stream
Size: 657 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120522/bf71edc4/attachment.obj 


More information about the mkgmap-dev mailing list