#geospatial #geography #pyo3 #python

py_geo_interface

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

11 releases (6 breaking)

0.7.0 Oct 12, 2023
0.6.1 Jul 24, 2023
0.5.0 Jan 19, 2023
0.4.1 Nov 30, 2022
0.3.0 Jun 22, 2022

#89 in Geospatial

Download history 25/week @ 2023-10-29 9/week @ 2023-11-05 47/week @ 2023-11-12 34/week @ 2023-11-19 63/week @ 2023-11-26 77/week @ 2023-12-03 41/week @ 2023-12-10 17/week @ 2023-12-17 40/week @ 2023-12-24 34/week @ 2023-12-31 42/week @ 2024-01-07 67/week @ 2024-01-14 28/week @ 2024-01-21 89/week @ 2024-01-28 18/week @ 2024-02-04 51/week @ 2024-02-11

188 downloads per month

MIT/Apache

49KB
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.6–9MB
~65K SLoC