Open-EO / openeo-gfmap

Generic framework for EO mapping applications building on openEO
Apache License 2.0
4 stars 0 forks source link

Should `split_job_s2grid` and `split_job_hex` return original geometry instead of Points? #101

Open VincentVerelst opened 2 months ago

VincentVerelst commented 2 months ago

Currently both job splitters use the centroid of the geometry to determine which tile/hex they belong to. However, after the geometries are split per tile/hex, they aren't converted back to the original geometry, but instead kept as Points. Would it be useful to return the original geometries instead of their centroids after the job splitting?

VictorVerhaert commented 1 week ago

I think by default the original polygons should be returned, but we could provide an argument to use the centrods instead