mvexel / overpass-api-python-wrapper

Python bindings for the OpenStreetMap Overpass API
Apache License 2.0
371 stars 91 forks source link

set default bounding box for API instance #4

Closed mvexel closed 9 years ago

mvexel commented 10 years ago

It would be nice if you could set a bounding box for the API instance that would be honored for all subsequent API calls.

lucadelu commented 9 years ago

Hi Martin, I did some improvements on my version and they should solved also this problem. I started to develop my code from the geojson branch of mharnold, so I don't know if you want previously accept his code and after mine. The commit is this https://github.com/lucadelu/overpass-api-python-wrapper/commit/599c14dc7431f8143546e261a617bdcf83d277b6

mvexel commented 9 years ago

After some discussion we decided to remove the bbox parameter altogether. @lucadelu if your code contains other useful improvements, perhaps you can rebase and try a PR?