[mkgmap-dev] Search addresses for latin countries (help on reg exp)
From Enrico Liboni eliboni at gmail.com on Mon Aug 5 11:50:01 BST 2013
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 full name of - usually - the person naming the street. Nevertheless the street names sometime appears abbreviated (V.le, Av.da, Bld. etc), sometime the Middle name is skipped, sometime the work “of” is used (Avenue de Bobigny, Corso del Popolo etc) So what is a simple Mozartstrasse in Austria would look like “Via Wolfgang Amadeus Mozart” in Italy or “Rue Wolfgang Amadeus Mozart” in France but possibly also “Av.da de Mozart” etc. Now, everyone knows the street/square by its last name and it would be much more practical to search by it: I’d like to have a style that just pick the last full word of the street/square name and put it as a suffix followed by a comma and the original name. This would really boost address search for Latin countries – so it might be a default style to add to IT, FR, ES, BR, MX… etc). Could you help me on making that regular expression for the style? “str1 str2… strN” -> “strN, str1 str2… strN” Thanks! Enrico -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130805/28c2670d/attachment.html
- Previous message: [mkgmap-dev] Basecamp 4.2.2 Inter-tile routing problem
- Next message: [mkgmap-dev] Search addresses for latin countries (help on reg exp)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list