logo separator

[mkgmap-dev] multi-word street search

From Steve Ratcliffe steve at parabola.me.uk on Tue Feb 26 14:54:17 GMT 2013

Hi

> Do Garmin devices implement multi-word street search? What happens if
> the user types "Main Street"? Will it search for either Main or Street,
> or both?

In the global index, it depends entirely on how it is built.
You have entries that consist of the name and the character
offset of the start character.

So the entry "Main Street",1 would be sorted with the "M"s
and you could have a second entry "Main Street",6 which would
be sorted with "S" and allow you to search for "Street".

So you can construct the index with as many name,offset pairs
as you like, with the only downside being that the index
could easily double in size if you just make every word
indexable.

..Steve


More information about the mkgmap-dev mailing list