#geo #geospatial #geography #pyo3 #python

py_geo_interface

Exchange vector geometries between Rust and Python using pyo3 and Pythons __geo_interface__ protocol

7 releases (4 breaking)

0.5.0 Jan 19, 2023
0.4.1 Nov 30, 2022
0.4.0 Sep 5, 2022
0.3.0 Jun 22, 2022
0.1.1 Apr 25, 2022

#60 in Geospatial

25 downloads per month

MIT/Apache

47KB
1K SLoC

py_geo_interface

Latest Version Documentation ci dependency status

Exchange vector geometries between Rust and Python using pyo3 and Pythons __geo_interface__ protocol.

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.

Changelog

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Dependencies

~2.4–6.5MB
~114K SLoC