Lelelo1 / seek-search

Haxe embedded client search
0 stars 0 forks source link

Handling of specific tags #20

Closed Lelelo1 closed 2 years ago

Lelelo1 commented 2 years ago

Handling of specific tags

The special tags can be viewed in #14 among with the rest of chosen tags. They are name, address, country and city. Since all names and address can't be stored in the embedded database there needs to be built in some efficient Overpass query that find...

Lelelo1 commented 2 years ago

I think that the search as whole should preform less time consuming queries first. And search in a hierarchy

Lelelo1 commented 2 years ago

It seems like I can extract all names in the city the user is in 5kmnamesOSM.txt I'ts 344KB

Lelelo1 commented 2 years ago

I don't know how I would to support searching cities in other countries...


The country and city search should probably not be supported in the autocomplete. But it will be there since many users have used it that way in seenav. I want to encourage nearby search, so the autocomplete should be and work for nearby places. It's much easier that way technically, since otherwise I would somehow need to weight results and have advances user group generated suggestions. It's probably best to start with the ones listed in #14.

Then this issue will be about adding name and adress. It will have be evaluated then if the search and autocomplete tests to cluttered. And how to setup a radius or something

So this issue will be about implemented name and address

Also if there is no hit at all maybe a more wide overpass weary can be made, picking up an address in another city

Lelelo1 commented 2 years ago

This is considered an enhancement because the SeeNav client product could work with categorical search alone - for some time, and is more needed by the app. But it would be desperately needed to create it afterwards. There needs to be some technical considerations at that point. As I see it now the difficulty is that there are so many name tags for instance, and extracting the important one in many geo areas etc. Country is the only reasonable specific tag than do "search all" approach on. There could be some external api for this as well.