mvexel / overpass-api-python-wrapper

Python bindings for the OpenStreetMap Overpass API
Apache License 2.0
359 stars 89 forks source link

Implement `__geo_interface__` #147

Open mvexel opened 2 years ago

mvexel commented 2 years ago

Instead of the homegrown GeoJSON implementation, we should consider implementing __geo_interface__ to enable interoperability with widely used geospatial Python modules such as shapely, geojson and fiona.

I haven't looked into this much yet, but I am considering it for the osmdiff project that I am currently refactoring.

/cc @sgillies who came up with __geo_interface__ in the first place.

mvexel commented 2 years ago

See also