[mkgmap-dev] Search addresses for latin countries (help on reg exp)
From Enrico Liboni eliboni at gmail.com on Mon Aug 5 22:03:30 BST 2013
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 starting with "Via Wol"). If I try to search by "Mozart" or "Wolfgang" or whatever and tap on done nothing is found. So just the "autosearch" seems to work and on the street full name only :( I've a Nuvi510. Not sure if it helps, but the final mkgmap output was: === FIRST t1=0, t2=139294 first av 197031/20, last 0/10 ALLEE : 15180 VIALE : 27286 CHEMIN : 68618 PIAZZA : 22592 ROUTE : 39198 RUE : 98746 STRADA : 57822 AVENUE : 26016 VICOLO : 12536 VIA : 720774 IMPASSE : 19896 BOULEVARD : 8114 === LAST STRASSE : 15568 ULICA : 7700 Here the file size, the r2662 is 60MB bigger (as expected) -rw-r--r-- 1 enrico enrico 1069744128 Jul 14 16:01 gmapsupp.img r2656 -rw-r--r-- 1 enrico enrico 1126793216 Aug 5 22:33 gmapsupp.img r2662 and I got some errors related to SeaGenerator that did not appear with r2656: SEVERE (SeaGenerator): ./data/63240001.osm.pbf: Disable precompiled sea due to missing index.txt file in precompiled sea directory sea_20130701.zip but the file index.txt is there (in .gz format) in WanMil's zipped sea_20130701.zip Any clue? Thanks again Enrico On Mon, Aug 5, 2013 at 9:50 PM, Enrico Liboni <eliboni at gmail.com> wrote: > 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 7:42 PM, Steve Ratcliffe <steve at parabola.me.uk>wrote: > >> >> 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 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) >> > >> >> The Garmin index format has a way of dealing with this problem and >> earlier this year I made a branch that creates an index with the extra >> information to show where the interesting part of the name starts. >> >> The latest version indexes every word in the name separately so you >> could find 'corso del popolo' by typing 'corso' , 'del' or 'popolo'. >> >> So this will always work for any language, but at the cost of a >> much larger index. >> >> It would be great if someone could try it out as it is, then >> if useful, its more likely that someone would improve it. By >> devising a suitable way to cut down the useless entries. >> >> Download it as mkgmap-mixed-index-r2662.jar at the bottom of the download >> page. >> >> > 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 >> > >> > >> > >> > _______________________________________________ >> > 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/20130805/e5a00510/attachment.html
- Previous message: [mkgmap-dev] Search addresses for latin countries (help on reg exp)
- 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