Open JeroenVerstraelen opened 6 months ago
I pushed a simple fix and improved the unit test. Still I noticed that vectorization did not seem to include the full original raster for some reason. Run the unit test modified in this issue to observe current behaviour!
Before converting the raster to vectors, the raster_to_vector method regrids the rdd to become one single tile (or multiple very large ones) if the rdd is too big: https://github.com/Open-EO/openeo-geotrellis-extensions/blob/master/openeo-geotrellis/src/main/scala/org/openeo/geotrellis/OpenEOProcesses.scala#L482
When raster_to_vector is used in the parcel delineation notebook it appears that this regridding causes artifacts to appear.
Input:![raster_to_vector_input](https://github.com/Open-EO/openeo-geotrellis-extensions/assets/3028262/a6a99c7e-8ed3-470e-9d15-47c1bf344ec7)
Output:![raster_to_vector_issue](https://github.com/Open-EO/openeo-geotrellis-extensions/assets/3028262/0ba8217a-8e4a-47aa-8860-236216f65f4a)