2
2
Fork
You've already forked overpass-api-python-wrapper
2

Implement __geo_interface__ #147

Closed
opened 2022年03月22日 19:42:34 +01:00 by mvexel · 2 comments

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.

Instead of the homegrown GeoJSON implementation, we should consider implementing [`__geo_interface__`](https://gist.github.com/sgillies/2217756) 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`](https://github.com/osmlab/osmdiff) project that I am currently refactoring. /cc @sgillies who came up with `__geo_interface__` in the first place.
Author
Owner
Copy link

See also

See also * #135 * #48 * PR #140
Author
Owner
Copy link

Implemented geo_interface on GeoJSON models and added a Shapely round-trip test in the 0.8 modernization work. Closing.

Implemented __geo_interface__ on GeoJSON models and added a Shapely round-trip test in the 0.8 modernization work. Closing.
Sign in to join this conversation.
No Branch/Tag specified
main
tutorial/d1-httpx-nvim
0.8.x
dev-contributor-tooling
1.0-dev
dev
feature/api-modernization
maintenance/base-0.8
maintenance/geojson-fixtures
archive/async-models
maintenance/endpoint-guard
maintenance/live-query-tool
maintenance/modernize-plan
archive/dev-prebaseline-20260502
archive/modernize
archive/chore-tests
chore/poetry
archive/readme
v0.8.2
v0.8.1
v0.8.0
v0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.7
0.5.6
0.5.5
0.4.0
0.1.0
0.0.2
0.0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mvexel/overpass-api-python-wrapper#147
Reference in a new issue
mvexel/overpass-api-python-wrapper
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?