https://github.com/nmandery/py_geo_interface
Exchange vector geometries between Rust and Python using pyo3 and Pythons __geo_interface__ protocol
https://github.com/nmandery/py_geo_interface
geometry geospatial pyo3 python rust
Last synced: 5 months ago
JSON representation
Exchange vector geometries between Rust and Python using pyo3 and Pythons __geo_interface__ protocol
- Host: GitHub
- URL: https://github.com/nmandery/py_geo_interface
- Owner: nmandery
- License: apache-2.0
- Created: 2022-04-23T07:18:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T01:31:24.000Z (over 1 year ago)
- Last Synced: 2025-08-14T00:58:10.052Z (5 months ago)
- Topics: geometry, geospatial, pyo3, python, rust
- Language: Rust
- Homepage:
- Size: 122 KB
- Stars: 23
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# py_geo_interface
[](https://crates.io/crates/py_geo_interface)
[](https://docs.rs/py_geo_interface)

[](https://deps.rs/repo/github/nmandery/py_geo_interface)
Exchange vector geometries between Rust and Python using [pyo3](https://pyo3.rs) and [Pythons `__geo_interface__` protocol](https://gist.github.com/sgillies/2217756).
The `__geo_interface__` protocol is implemented by most popular geospatial python modules like `shapely`, `geojson`, `geopandas`, ... .
While this protocol also defines `Features` and `FeatureCollections`, this library so far only focuses on the `Geometry` type, as
this one can be directly mapped to the types of the `geo-types` crate.
For usage examples see the [documentation](https://docs.rs/py_geo_interface).
[Changelog](./CHANGES.md)
### License
Licensed under either of Apache License, Version
2.0 or MIT license at your option.