Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#973
Originally Posted by pichlo View Post
I still maintain that the best search tool would be a series of input fields:

Country: ___________________
City: ______________________
Street: ____________________
House No.: _________________

Optionally, the next fields would be hidden until the previous level has been entered. So, for example, if one enters a postcode in the City field, the Street does not need to show up at all. And in some cases, neither does House No.
Unfortunately, data is not stored that way. It will depend on the search engine, but there is a lot of fuzziness in the hierarchy of data. See this lovely table as an example: https://wiki.openstreetmap.org/wiki/...ific_countries .

Cannot comment on other geocoders, but in OSM Scout Server, I just store hierarchy without associated name of the level.

As for other geocoders, not sure they have API even to request data like that.
 

The Following 6 Users Say Thank You to rinigus For This Useful Post: