Skip to content

GeoPandas

Use the from_geopandas and to_geopandas functions to convert to and from GeoPandas.

import geopandas as gpd
from geoarrow.rust.core import from_geopandas, to_geopandas

gdf = gpd.GeoDataFrame(...)
table = from_geopandas(gdf)
back_to_geopandas_gdf = to_geopandas(table)