Pyogrio/GDAL¶
Use the read_pyogrio
function to read an OGR-supported data source through pyogrio.
This requires the optional pyogrio
and pyarrow
dependencies.
from geoarrow.rust.core import read_pyogrio, geometry_col
path = "path/to/file.shp"
table = read_pyogrio(path)
geometry = geometry_col(table)