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
path = "path/to/file.shp"
table = read_pyogrio(path)
table.geometry
# <geoarrow.rust.core._rust.ChunkedMultiLineStringArray at 0x13fb61e70>