diff --git a/xvec/accessor.py b/xvec/accessor.py index 6274d53..734cf0a 100644 --- a/xvec/accessor.py +++ b/xvec/accessor.py @@ -766,7 +766,7 @@ def to_geopandas(self) -> GeoDataFrame | pd.DataFrame: gdf = gdf.T return gdf.reset_index().set_geometry( # type: ignore self._geom_indexes[0], - crs=self._obj.xindexes[self._geom_indexes[0]].crs, + crs=self._obj.xindexes[self._geom_indexes[0]].crs, # type: ignore ) warnings.warn( "No geometry to return, falling back to DataArray.to_pandas().",