Skip to content

Commit 37595ca

Browse files
jdriespvbouwel
authored andcommitted
target_crs can be set to None explicitly, then collection crs applies
1 parent 408071e commit 37595ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openeo_driver/ProcessGraphDeserializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def _extract_load_parameters(env: EvalEnv, source_id: tuple) -> LoadParameters:
605605
extent = constraint["weak_spatial_extent"]
606606
if extent is not None:
607607
collection_crs = _collection_crs(collection_id[1][0], env)
608-
crs = constraint.get("resample", {}).get("target_crs", collection_crs)
608+
crs = constraint.get("resample", {}).get("target_crs", collection_crs) or collection_crs
609609

610610
if "pixel_buffer" in constraint:
611611

0 commit comments

Comments
 (0)