Description
Stumbled on this while working on #287:
The apply_polygon
process implementation (originally added as chunk_polygon
in a411109) coerces the provided geometries into a MultiPolygon :
openeo-python-driver/openeo_driver/ProcessGraphDeserializer.py
Lines 859 to 874 in ea078ff
and pushes this API through into geopyspark driver, e.g.
https://github.com/Open-EO/openeo-geopyspark-driver/blob/1f22c0da34535e986908480673ad341c9f89324d/openeogeotrellis/geopysparkdatacube.py#L572-L575
MultiPolygon should not be abused as a collection of polygons. Instead the API should use something like a FeatureCollection or vector cube abstraction