Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
151 stars 40 forks source link

Support `vector_to_raster` as convenience method #550

Closed VincentVerelst closed 6 months ago

VincentVerelst commented 6 months ago

The experimental process vector_to_raster can currently only be used via the generic process() method. This leads to the problem that the end result is still a VectorCube instead of a DataCube. In the following example:

raster_cube = vector_cube.process("vector_to_raster", data=vector_cube, target_data_cube=a_raster_cube)

type(raster_cube) returns openeo.rest.vectorcube.VectorCube