logo separator

[mkgmap-dev] Searching cities

From Henning Scholland osm at aighes.de on Tue Jul 2 21:21:31 BST 2013

Try

highway=* & name ~ '.*[aA]venida' { set 
foobar:name='${name|subst:Avenida |subst:avenida }, Avenida'}
...

foobar:name=* {set name='${foobar:name}'}

Henning


Am 02.07.2013 20:00, schrieb Carlos Dávila:
> El 02/07/13 19:28, Henning Scholland escribió:
>> Hi Carlos,
>> maybe it would be a good hackto change the word order. E.g. "Avenida 
>> ..." => "..., Avenida"
>>
> That could be a solution. How would you do it in the style?
>> Henning
>>
>>
>> Am 02.07.2013 17:51, schrieb Carlos Dávila:
>>> The maps are generated with --index parameter, the problem comes from
>>> names starting with the kind of way, such as Calle, Avenida, Avda. etc.
>>> It has been commented here some times and I think Steve have some ideas
>>> on how to fix it. As Felix says, it could be managed in the styles, but
>>> I think it's not a good idea, because I've seen some cities where you
>>> have the same name for an avenue, an street or a plaza and if you remove
>>> that words from the name you won't know which one is the one you are
>>> looking for.
>>>
>>> El 02/07/13 16:41, Felix Hartmann escribió:
>>>> Basic:
>>>> http://www.mkgmap.org.uk/doc/index.html
>>>>
>>>> well and then follow the link to the wiki - where you find all info.
>>>>
>>>> avda shouldn't be a problem, except that you have to enter if for
>>>> streets which have avda as part of their name (which is of course not
>>>> very practical - but could be solved in the style).
>>>> On 02.07.2013 16:15, Baltasar García Perez-Schofield wrote:
>>>>> 	Hi Felix,
>>>>>
>>>>> 	Thank you for answering, so soon.
>>>>> 	
>>>>>> steet search is working - maybe you forgot --index parameter? Or you
>>>>>> generated the gmapsupp.img in the same go as the .img files - then due
>>>>>> to memory constraints, by default no index will be generated in the
>>>>>> gmapsupp.
>>>>> 	I don't really know how the process was done. I simply downloaded the maps from:
>>>>>
>>>>> 	http://mapas.alternativaslibres.es/
>>>>>
>>>>> 	I contacted them and encoruaged me to contact you instead. I'm Spaniard, maybe the problem is that the streets are beginning with "avda." (Avenue) and so on.
>>>>>
>>>>> 	But maybe the problem comes from the process of generating the IMG file. Can you point me to any instructions from which I can generate the maps myself? That way I could just check it out.
>>>>>
>>>>> 	Cheers,
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>
>>
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130702/c2b127a3/attachment.html 


More information about the mkgmap-dev mailing list