Here I asked for a near by search for restaurants around a node or town: https://help.openstreetmap.org/questions/80912/search-for-restaurants-around-a-distance Now it would be helpful to perform the same search for an concrete address. E. g. let's say all restaurants around a disctance of 1000 Meters "Platz der Republik 1, Berlin" (maybe also with zip code) Would it be possible to build an address-replaceable query for that task? I'm new to openstreetmap and it's hard for me to understand the overpass API This wizard input text from the wiki gave me the hint: So I got now this, successfully tested with two different addresses that I know:
But may you review that, please and tell me if it's correct for what I need? It seems to, but I'm not 100 % sure about that. asked 11 Jul '21, 22:29 alpham8 |
If you want this information & know where you are but not the name of any localities, I've found this to be useful. {{center}} returns the co-ordinates of the centre of the OPT screen.
answered 07 Sep '21, 20:43 DaveF |
That looks good to me! If you want, you can shorten it using nwr instead of node, way and relation:
On https://wiki.openstreetmap.org/wiki/Overpass_turbo/Extended_Overpass_Turbo_Queries, the geocoding part is briefly outlined: geocodeCoords gives the coordinates of the centre of the first result which the search of the name resulted in. That might cause some problems if the name of the place is not well specified. answered 07 Sep '21, 13:15 Gåseborg |