mvexel / overpass-api-python-wrapper

Python bindings for the OpenStreetMap Overpass API
Apache License 2.0
367 stars 90 forks source link

enable csv response format #60

Closed nebulon42 closed 8 years ago

nebulon42 commented 8 years ago

Implicitly the CSV response format would already work by specifying e.g. responseformat='csv("addr:street", "addr:place", "addr:housenumber";true;";")'. But instead of trying to parse JSON the raw response should be returned.

Failed checks are timeout errors.

nebulon42 commented 8 years ago

@mvexel Would you have time for a review? I have two smaller projects in the pipeline I can't reasonably open source without this change being merged and released. Thanks a lot!

nebulon42 commented 8 years ago

I'm no longer sure why I need the CSV output anyway. It would be possible to parse the JSON and transform to CSV in the code.