Skip to content

Commit 802ac88

Browse files
add crs when writing DriverVectorCube to geojson file
1 parent 3631157 commit 802ac88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo_driver/datacube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def write_assets(
573573
return self.to_legacy_save_result().write_assets(directory)
574574

575575
gdf = self._as_geopandas_df(flatten_prefix=options.get("flatten_prefix"))
576-
gdf.to_file(path, driver=format_info.fiona_driver)
576+
gdf.to_file(path, driver=format_info.fiona_driver, crs=self.get_crs())
577577

578578
if not format_info.multi_file:
579579
# single file format

0 commit comments

Comments
 (0)