Skip to content

Commit 1e6b08e

Browse files
authored
Merge pull request #3 from JRFeldman/bugfix_validate
bugfix gdf crs not set
2 parents 84ca88c + e907209 commit 1e6b08e

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)