logo separator

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

From Geoff Sherlock geoffrey_sherlock at btinternet.com on Tue Aug 6 18:57:07 BST 2013

Hi Steve,

 When you collect the data for the index you could also increment a count for each word. Then only add the word to the index if the count is less than a optional value (default say 10000). This should work for most languages and reduce the size of the index, although it will require more memory for compiling the map.

Regards, Geoff. 

Steve Ratcliffe <steve at parabola.me.uk> wrote:
>Hi
>
>> Doing some more test, it seems that the new index is able to find
>> streets by their second word. For example, searching for Calle
>Naciones
>
>Yes, sorry, it was indeed only working for the second word.  The new
>version I just committed now really works with all words. (Well it also
>omits the word CALLE altogether, but that was just an experiment).
>
>I made a change another change that seems to improve the sorting
>and the number of streets found.
>
>Its still not perfect.
>
>..Steve
>
>
>_______________________________________________
>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/20130806/7e778b4c/attachment.html 


More information about the mkgmap-dev mailing list