eo_forge.utils.raster_utils.shapes2array

eo_forge.utils.raster_utils.shapes2array(shapes, raster)

Set shapes to raster.

Parameters
shapes: geodataframe
Returns
array_: numpy array