logo separator

[mkgmap-dev] Commit: r2664: Update the SubstitutionFilter.java class in order to allow regexp on

From svn commit svn at mkgmap.org.uk on Fri Aug 9 14:23:39 BST 2013

Version 2664 was committed by steve on Fri, 09 Aug 2013

Update the SubstitutionFilter.java class in order to allow regexp on
the subst filters by using the operator "~>"  to state the first
argument is a regexp. The default behavior is maintained if no operator
(i.e. remove string) or "=>" is used

Example:
    highway=* & name ~ '[Aa]venida [Dd]e [Ee]l .*' {
	    add streettype:movedend='${name|subst:[Aa]venida [Dd]e [Ee]l ~>}'
    }

- Enrico Liboni


More information about the mkgmap-dev mailing list