Open-EO / openeo-processes-python

A Python representation of (most) openEO processes
Apache License 2.0
11 stars 4 forks source link

Fix to_crs() call in aggregate_spatial #109

Closed LukeWeidenwalker closed 2 years ago

LukeWeidenwalker commented 2 years ago

The previous code would fail if the incoming vectorcube already had a crs set (equi7 in the case of the UC8 polygons). This should fix this problem, i.e. just reproject if the crs isn't epsg:4326 already!