Skip to content

merge_cubes spatial + spacetime generates intersection rather than union #58

@jdries

Description

@jdries

When merging a cube x,y,t,bands with another cube with x,y,bands, the result takes the intersection of spatial keys in both cubes rather than generating a union.
This piece of code is responsible for that:
https://github.com/Open-EO/openeo-geotrellis-extensions/blob/feature/spark3/openeo-geotrellis/src/main/scala/org/openeo/geotrellis/SpatialToSpacetimeJoinRdd.scala#L71
It originates from the fact that the code was intended for the mask process, where generating an intersection is correct.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions