Skip to content

Commit e907209

Browse files
committed
bugfix gdf crs not set
1 parent 84ca88c commit e907209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygridtools/validate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _explode_gdf(gdf):
7777
pandas.concat(
7878
[_explode_geom(row) for row in gdf.iterfeatures()],
7979
ignore_index=True, sort=True
80-
).pipe(geopandas.GeoDataFrame, crs=gdf.crs)
80+
).pipe(geopandas.GeoDataFrame).set_crs(gdf.crs)
8181
)
8282

8383

0 commit comments

Comments
 (0)