logo separator

[mkgmap-dev] How do I transform the name of all Ways?

From Alexandre de Menezes afmlistas at terra.com.br on Sun Jun 12 22:42:48 BST 2016

Hi everyone,

I want to do some transformations on the names of all the Ways, is there 
a standard way to do that?  For example, I want to replace all 
occurrences of "Avenida"  for "Av.".

I tried adding this to my lines file:

|highway=* & name ~ '(?i)avenida\s+.*' { add 
streettype:movedend='${name|subst:(?i)avenida\s+~>}, Av.'} #|

But There was no effect.

Thanks in advance,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160612/fdabd8e9/attachment.html>

More information about the mkgmap-dev mailing list