Open-EO / openeo-geotrellis-extensions

Java/Scala extensions for Geotrellis, for use with OpenEO GeoPySpark backend.
Apache License 2.0
5 stars 3 forks source link

#104 roundExtendToGridOutwards to avoid EPSG:3035 issue. #117

Closed EmileSonneveld closed 1 year ago

jdries commented 1 year ago

The main risk with this approach:

Up until now, we always ensured that at least one of these conditions is met. Especially when using a geographic crs, I would avoid this approach, as that would almost certainly break some workflows that rely on specific alignments.

In this specific case, the requested projection is different from input data projection, so it's impossible to align with input rasters. Hence the best we can do is satisfy the first condition?

To know where the misalignment comes from, we can also check: FileLayerProvider.deriveRasterSources This is where input rasters are also resampled to a certain grid, but there's a few branches depending on file format.

EmileSonneveld commented 1 year ago

@jdries This should be fine now. It is redoing another build for a change in develop branch I think. For the GIFF equivalent, I logged a new issue: https://github.com/Open-EO/openeo-geotrellis-extensions/issues/120