Open-EO / openeo-processes-python

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

`aggregate_spatial` assumes vector-cube index to start at 0 #112

Closed LukeWeidenwalker closed 2 years ago

LukeWeidenwalker commented 2 years ago

cubes.py:aggregate_spatial:2006 uses for i in range(len(vector_cube_utm)): to loop over the geometries. This should be replaced by geopandas' iterrows() to ensure there's no assumptions on the index.

LukeWeidenwalker commented 2 years ago

Closed with https://github.com/Open-EO/openeo-processes-python/pull/140.