12 releases (7 breaking)
0.8.0 | Apr 19, 2024 |
---|---|
0.7.0 | Oct 12, 2023 |
0.6.2 | Oct 3, 2023 |
0.6.1 | Jul 24, 2023 |
0.3.0 | Jun 22, 2022 |
#151 in Geospatial
21 downloads per month
50KB
1K
SLoC
py_geo_interface
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.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Dependencies
~4–9.5MB
~95K SLoC