-
-
Notifications
You must be signed in to change notification settings - Fork 702
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
search with viewbox bounded only #1311
Comments
Nominatim requires a query (place name or address). You can use https://wiki.openstreetmap.org/wiki/Overpass_API for a list of all map features in an area. Though even there you probably want to filter a bit, otherwise you end up with every tree, lamp post and traffic light. |
Thank you but i'm using my own nominatim database. How can I filter to retrieve only place, establishment, etc ... ? I don't want the tree or anything useless for me :p |
I can retrieve results if I specified amenity=restaurant for exemple : but I want all amenity, and I can't do amenity=all |
As @mtmail said, you are using the wrong tool. Nominatim is not designed for this kind of job. It is a search engine. Overpass is what you are looking for. |
Hello !
I can't figure how to do a search only on a bounded viewbox ? without any query ?
I want all establishment in this area.
How can I do ?
https://nominatim.openstreetmap.org/search?format=json&limit=20&viewbox=2.393867340087891,48.84358571785511,2.3904705047607426,48.84472294197522&bounded=1&q=
I know there is something :
https://nominatim.openstreetmap.org/search?format=json&limit=20&viewbox=2.393867340087891,48.84358571785511,2.3904705047607426,48.84472294197522&bounded=1&q=[restaurant]
The text was updated successfully, but these errors were encountered: