Searching cities

Hi, there. I've recently discovered OpenStreetMaps and its possibilities for Garmin devices through mkgmap. I've loaded the maps in my own device and I'm pleased to say that they work really good. The only real problem is when you want to enter and address in order to go there: the city is found as you touch, but the street search does not work at all. I don't know whether you're already working on this or not. I'm a computer programmer, so I could give a hand in case it would be needed. -- Baltasar

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. There is however work to be done in selecting the content for the address search, or better the different options for the name field. On 02.07.2013 15:21, Baltasar García Perez-Schofield wrote:
Hi, there.
I've recently discovered OpenStreetMaps and its possibilities for Garmin devices through mkgmap. I've loaded the maps in my own device and I'm pleased to say that they work really good. The only real problem is when you want to enter and address in order to go there: the city is found as you touch, but the street search does not work at all.
I don't know whether you're already working on this or not. I'm a computer programmer, so I could give a hand in case it would be needed.
-- Baltasar
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

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, -- Baltasar (baltasarq@gmail.com http://baltasarq.info/)

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,
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

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,

Hi Carlos, maybe it would be a good hackto change the word order. E.g. "Avenida ..." => "..., Avenida" 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@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

El 02/07/13 22:21, Henning Scholland escribió:
Try
highway=* & name ~ '.*[aA]venida' { set foobar:name='${name|subst:Avenida |subst:avenida }, Avenida'} ...
foobar:name=* {set name='${foobar:name}'} Thanks, I will give it a try in the next days
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.

El 02/07/13 22:21, Henning Scholland escribió:
Try
highway=* & name ~ '.*[aA]venida' { set foobar:name='${name|subst:Avenida |subst:avenida }, Avenida'} ...
foobar:name=* {set name='${foobar:name}'}
Henning I have managed to move all street type stuff to the end of the name with rules of the type below (thanks Henning) in the lines file: highway=* & name ~ '[aA]venida .*' { add streettype:movedend='${name|subst:Avenida |subst:avenida }, Avenida'} highway=* & streettype:movedend=* {set name='${streettype:movedend}'} It works fine for searching streets purposes, but now the problem is that house numbers are not found. I have tried adding the following lines to the points file, but it doesn't make the desired effect. addr:housenumber=* & addr:street ~ '[aA]venida .*' { add streettype:movedend='${addr:street|subst:Avenida |subst:avenida }, Avenida'} addr:housenumber=* & streettype:movedend=* {set addr:street='${streettype:movedend}'} Any idea how could I get house numbers match street names again?
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,
participants (4)
-
Baltasar García Perez-Schofield
-
Carlos Dávila
-
Felix Hartmann
-
Henning Scholland