Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 248 | Thanked: 1,142 times | Joined on Dec 2014 @ Earth
#221
Originally Posted by rinigus View Post
In your case, they both match since Zgierz is within Lodzkie which is matching Lodz via substring match.
Would it be possible to order the search by the reverse size of the match.

i.e.: sort entry that match "Lodz" to a city, before those that match a region, before those that match a whole country.

Or match by the the shortness of the interval if you only do full-string matches ? (One is matching "(Antoniewska), (Lodz), Lodzkie" with only ", " between the groups, the other is matching "(Antoniewska), Grietz, (Lodz)kie" with ", Grietz, " in between the groups)


And by the way, nothing to do with the above, I like the "highway sign" display during navigation.
 

The Following 4 Users Say Thank You to DrYak For This Useful Post: