logo separator

[mkgmap-dev] Name Substitution not correctly working

From Felix Hartmann extremecarver at gmail.com on Fri Jul 25 13:12:15 BST 2014

1. There seems to be a problem with Chinese Tonemarks...
e.g. on
http://www.openstreetmap.org/node/244080668

name:zh_pinyin ~ '.*Shì' { set 
name:zh_pinyin='${name:zh_pinyin|subst:"Shì=>"}'; echo "rule working" }
nor does
name:zh_pinyin ~ '.*Shi' { set 
name:zh_pinyin='${name:zh_pinyin|subst:"Shi=>"}'; echo "rule 2 working" }
work.


2. How can I remove parentheses from the name?
name=* { set name='${name|subst:"(=>"'}
name=* { set name='${name|subst:")=>"'}

Is not working. Or better it gets called but I loose all characters in 
Japanese or Chinese...
e.g. here:
http://www.openstreetmap.org/node/569005420


-- 
keep on biking and discovering new trails

Felix
openmtbmap.org & www.velomap.org




More information about the mkgmap-dev mailing list