Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geocoding: autocomplete for osm search #20

Open
tyrasd opened this issue Apr 19, 2016 · 6 comments
Open

geocoding: autocomplete for osm search #20

tyrasd opened this issue Apr 19, 2016 · 6 comments

Comments

@tyrasd
Copy link
Collaborator

tyrasd commented Apr 19, 2016

Autocomplete should also work for arbitrary region search (like for the hot projects). There are a couple of osm-based search engines (photon, mapzen, mapbox) with autocomplete support, but none of these provides the full geometry of the search results (e.g. an OSM-object-id to fetch the full geometry from). This currently leaves only nominatim, which on the other hand sadly doesn't support autocomplete.

Hints/Ideas for how to tackle this are welcome! 🙇

@tyrasd tyrasd added this to the post-presentation milestone Apr 19, 2016
@tyrasd
Copy link
Collaborator Author

tyrasd commented Apr 19, 2016

Maybe it would help if we limit this to administrative boundaries, but that's still much too much data to be simply preloaded like the hot projects list…

@tyrasd
Copy link
Collaborator Author

tyrasd commented Apr 19, 2018

osmnames could be an option, although I think they don't directly provide the geometries like nominatim does.

@kamicut
Copy link
Collaborator

kamicut commented Apr 19, 2018

@tyrasd Have you considered running the Pelias API created by Mapzen or even hosted Pelias geocode.earth?

@tyrasd
Copy link
Collaborator Author

tyrasd commented Apr 20, 2018

thanks for the hint, but as far as I can see, it also doesn't return the full geometry of the search results, does it?

@kamicut
Copy link
Collaborator

kamicut commented Apr 20, 2018

Ah, sorry, I misunderstood the problem. Pelias returns the Mapzen whosonfirst id which you could use to return a full geometry, but I don’t know if it’s necessarily OSM. It seems the hosted whosonfirst is shut down though now that I’m looking for it.

@tyrasd
Copy link
Collaborator Author

tyrasd commented Apr 20, 2018

after digging around a bit, I found https://whosonfirst.org/browse/ which seems to be still operational and offer the kind of stuff we would need, for example https://data.whosonfirst.org/101/751/119/101751119.geojson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants