logo separator

[mkgmap-dev] Address search Slovakia and Czech Republic

From Felix Hartmann extremecarver at gmail.com on Thu Jun 6 20:46:08 BST 2013

yes - for example Bratislava.
It is wrongly classified (okres Bratislava - and so on for subdistricts) 
-- (well this is based on 19. April data - but I don't suppose it 
changed yet).




As a city you can find Bratislava under Bratislava - but for the address 
search it goes wrong....
(or is the problem wrong admin_level??)..

In More or less most of Czech and Slovakia address search doesn't work 
for me).



On 06.06.2013 21:29, Henning Scholland wrote:
> Do you have an example? I just take a quick look to Czech on osm.org, 
> but haven't found such parts in names.
> I would suggest that you have to use the original string, because they 
> are just compared.
>
> Henning
>
>
> Am 06.06.2013 19:40, schrieb Felix Hartmann:
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130606/bf706800/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bratislava.png
Type: image/png
Size: 3582 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130606/bf706800/attachment.png 


More information about the mkgmap-dev mailing list