logo separator

[mkgmap-dev] Address search Slovakia and Czech Republic

From Felix Hartmann extremecarver at gmail.com on Thu Jun 6 18:40:26 BST 2013

In Slovakia as well as Czech Republich - just like in Germany - there 
are some prefixes for cities - which shouldn't be in the name - however 
they have special symbols, can someone have a look, why the following 
doesn't work?:
(the substitution of neither Okres, nor Kraj works) - both words have 
some special accents....

( mkgmap:country=SVK | mkgmap:country=CZE ) & mkgmap:city!=* & 
mkgmap:admin_level8=* { set 
mkgmap:city='${mkgmap:admin_level8|subst:Okres |subst:Kraj}' }
( mkgmap:country=SVK | mkgmap:country=CZE ) & mkgmap:city!=* & 
mkgmap:admin_level7=* { set 
mkgmap:city='${mkgmap:admin_level7|subst:Okres |subst:Kraj}' }
( mkgmap:country=SVK | mkgmap:country=CZE ) & mkgmap:city!=* & 
mkgmap:admin_level6=* { set 
mkgmap:city='${mkgmap:admin_level6|subst:Okres |subst:Kraj}' }
( mkgmap:country=SVK | mkgmap:country=CZE ) & mkgmap:city!=* & 
mkgmap:admin_level9=* { set 
mkgmap:city='${mkgmap:admin_level9|subst:Okres |subst:Kraj}' }
( mkgmap:country=SVK | mkgmap:country=CZE ) & mkgmap:city!=* & 
mkgmap:admin_level10=* { set 
mkgmap:city='${mkgmap:admin_level10|subst:Okres |subst:Kraj}' }


-- 
keep on biking and discovering new trails

Felix
openmtbmap.org & www.velomap.org



More information about the mkgmap-dev mailing list