You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand the threads above, the "crs" support mentioned above was originally targeted to the use case where the geometry is provided as shapely object (which has no explicit CRS info), which has to be converted to GeoJSON to be embedded in the process graph. Over time, a lot more geometry value types for geometries were added (e.g UDP parameters, vector cubes, load_url, ...), where it's impossible to attach that CRS to, so we now have a very inconsistent CRS handling situation.
stop supporting crs/srs arguments directly in aggregate_spatial, ... (because it's impossible to do it consistently). Instead throw exception pointing to proper way to do it (e.g. docs).
provide convenience function to support the conversion need from shapely to GeoJSON with custom CRS
So use cases that wanted to use shapely geometries with custom crs the old way:
stumbled on this while working on #104:
openeo-python-client/openeo/rest/datacube.py
Lines 1074 to 1087 in 5a3e6f4
e.g. public facing from
cube.aggregate_spatial(..., crs=...)
andcube.mask_polygon(..., srs=...)
This CRS handling has some problems:
I think we should get rid of this
The text was updated successfully, but these errors were encountered: