I'm trying to obtain list of supermarkets in Santa Clara in CA, USA. I've crafted following query:
The problem is with cases that are inside Santa Clara (city) bounding box but doesn't have "city" or "state" values in their meta data. Is there a way to search using bounding box instead of city name? asked 18 Jun '22, 08:18 sebap123 |
There appears to be two problems:
1. You were asking it to return just nodes. 'nwr' (nodes, ways, relations) returns all objects.
2. The
If you're going to make repeated use of the routine, I've found it more efficient to directly use the city's id:
Also, take a look at my similar answer which gives you multiple options to do the same thing. https://help.openstreetmap.org/questions/84723/use-polygon-for-an-overpass-turbo-query answered 18 Jun '22, 13:42 DaveF |