[mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Enrico Liboni
Folks, as you know – this comes up time to time – address search is unpractical in most Latin countries where the street/square name usually starts with the type (Via, Viale,Corso, Piazza etc [IT]; Avenida, Calle, Plaza etc [ES]; Avenue, Boulevard, Rue, Place etc [FR] etc.) followed by the

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Carlos Dávila
El 05/08/13 12:50, Enrico Liboni escribió: Folks, as you know -- this comes up time to time -- address search is unpractical in most Latin countries where the street/square name usually starts with the type (Via, Viale,Corso, Piazza etc [IT]; Avenida, Calle, Plaza etc [ES]; Avenue,

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Enrico Liboni
Carlos, Bueno! Thanks for your reply. Actually I believe trying to find all the combinations in the various languages would really be hard and I'm concerned about having hard-codes in for languages. The approach I'd like to follow to facilitate search is just to take the last word of a street

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Henning Scholland
Am 05.08.2013 13:00, schrieb Carlos Dávila: highway=* name ~ '[Aa]venida [Dd]e [Ee]l .*' { add streettype:movedend='${name|subst:Avenida De El |subst:Avenida De el |subst:Avenida de El |subst:Avenida de el |subst:avenida De El |subst:avenida De el |subst:avenida de El |subst:avenida de el

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Henning Scholland
Am 05.08.2013 15:17, schrieb Enrico Liboni: Carlos, Bueno! Thanks for your reply. Actually I believe trying to find all the combinations in the various languages would really be hard and I'm concerned about having hard-codes in for languages. I don't think that this is a good solution. 1:

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Andrzej Popowski
Hi, I think there are 2 problems there. First is how does name look on the map and how it is pronounced by navigations. There could be different rules depending on country. To some extend names could be standardized in style definitions. Other problem is search for address. This is a problem

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Steve Ratcliffe
Hi Folks, as you know – this comes up time to time – address search is unpractical in most Latin countries where the street/square name usually starts with the type (Via, Viale,Corso, Piazza etc [IT]; Avenida, Calle, Plaza etc [ES]; Avenue, Boulevard, Rue, Place etc [FR] etc.) followed

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Carlos Dávila
El 05/08/13 19:42, Steve Ratcliffe escribió: Hi Folks, as you know – this comes up time to time – address search is unpractical in most Latin countries where the street/square name usually starts with the type (Via, Viale,Corso, Piazza etc [IT]; Avenida, Calle, Plaza etc [ES]; Avenue,

[mkgmap-dev] Drive-on-left

2013-08-05 Thread Colin Smale
Hi, In the last couple of years I have been making maps with mkgmap for both the UK and various continental countries. One problem that I have never been able to fix until now is that the drive-on-left flag didn't seem to have any effect on roundabouts in the UK. The impact is limited because

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Enrico Liboni
Steve you are the man! I'm rebuilding my map now. By the way, I believe that indexing just the last word make more sense to avoid a lot of useless entries, since words in the middle are usually first names or prepositions. I'll have a try and let you know. Thanks! Enrico On Mon, Aug 5, 2013 at

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Enrico Liboni
I tried r2662 but... no luck. Index search is worse: using Via Wolfgang Amadeus Mozart as example, actually if I type Via W and tap done nothing is found, same for Via Wo, then if I type Via Wol magically (without tapping on done) two entries appears (indeed just the two entries in the city

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Henning Scholland
Am 05.08.2013 21:50, schrieb Enrico Liboni: I believe that indexing just the last word make more sense to avoid a lot of useless entries, since words in the middle are usually first names or prepositions At least in Germany this wont work well. ;) Henning

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Carlos Dávila
El 05/08/13 19:42, Steve Ratcliffe escribió: Hi Folks, as you know – this comes up time to time – address search is unpractical in most Latin countries where the street/square name usually starts with the type (Via, Viale,Corso, Piazza etc [IT]; Avenida, Calle, Plaza etc [ES]; Avenue,

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Carlos Dávila
Forgot to say many existing streets are not found ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Carlos Dávila
El 05/08/13 23:03, Henning Scholland escribió: Am 05.08.2013 21:50, schrieb Enrico Liboni: I believe that indexing just the last word make more sense to avoid a lot of useless entries, since words in the middle are usually first names or prepositions At least in Germany this wont work well.

Re: [mkgmap-dev] Search addresses for latin countries (help on reg exp)

2013-08-05 Thread Carlos Dávila
El 05/08/13 23:09, Carlos Dávila escribió: El 05/08/13 19:42, Steve Ratcliffe escribió: Hi Folks, as you know – this comes up time to time – address search is unpractical in most Latin countries where the street/square name usually starts with the type (Via, Viale,Corso, Piazza etc [IT];