#python #geospatial #pyo3 #geography

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

#160 in Geospatial

Download history 5/week @ 2024-01-08 26/week @ 2024-01-15 36/week @ 2024-01-29 110/week @ 2024-02-26 13/week @ 2024-03-04 22/week @ 2024-03-11 57/week @ 2024-04-01

81 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

~4–10MB
~88K SLoC