support question raised by @manugv which has this use case (condensed):
load_collection(bbox1) .... filter_spatial(bbox2)
bounding box of result is bbox2, while Open-EO/openeo-processes#201 clarified that it should be intersection
related part of logic:
|
# Take first item (to reproduce original behavior) |
|
# TODO: take temporal/spatial/categorical intersection instead? |
|
# see https://github.com/Open-EO/openeo-processes/issues/201 |
|
constraints[op] = args[0] |