I'm new at OpenStreetMap and overpass-turbo i did write a code to extract residential from the country of Qatar and it works fine but if I would like to define a specific location based on west, east, north, south location like what we do in OpenStreetMap
i tried to change the {geocodearea:qatar} to {25.2552,51.5635,25.2433,51.5434} but it didn't work how can i define a manual location ? asked 18 Dec '20, 20:28 rabeeqasem edited 18 Dec '20, 20:30 |
One Answer:
There's 2 ways to do a bounding box query, either for the whole script, or for each query part. For the entire script, put something like this at the beginning (I've not checked the order):
To do it on an individual query, put the corners inside parentheses (again, I didn't check if you have the correct order for Overpass API bounding boxes):
answered 18 Dec '20, 21:04 maxerickson |
i interested in the whole script so if i understand you mean I should bot the [boxx:...] after [out:json][timeout:25]; and remove all the searchArea part ?
Yeah, that should do it.