I would like to query a large bounding box in Openstreetmap using the overpass API from within python. A solution similar to this one would be ideal.
My extent, however is very large, and I would like to determine if there is any native "overpass API" method to loop through "sub-bounding boxes" and extract data for each smaller bounding box.
I can think of ways to do this in python
but I would rather take care of this at the Overpass API level. Surely they have devised a way to avoid errors like these:
runtime error: Query ran out of memory in "query" at line 1. It would need at least 531 MB of RAM to continue.
Are there any Overpass-specific capabilities which will successfully download data for large extents? Which commands/queries are of use here?