We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d180c24 commit d262197Copy full SHA for d262197
openeo_driver/datacube.py
@@ -419,7 +419,7 @@ def from_parquet(
419
420
@staticmethod
421
def _convert_crs84(df: GeoDataFrame):
422
- if "OGC:CRS84" in str(df.crs) or "WGS 84 (CRS84)" in str(df.crs) or df.crs.to_epsg() is None:
+ if df.crs is None or df.crs.to_epsg() is None or "OGC:CRS84" in str(df.crs) or "WGS 84 (CRS84)" in str(df.crs):
423
# workaround for not being able to decode ogc:crs84
424
df.crs = CRS.from_epsg(4326)
425
return df
0 commit comments