e-sensing / sits

Satellite image time series in R
https://e-sensing.github.io/sitsbook/
GNU General Public License v2.0
481 stars 78 forks source link

Use a vector mask for raster classification #1197

Closed gilbertocamara closed 1 week ago

gilbertocamara commented 3 months ago

Describe the requested improvement When using the roi parameter to the sits_classify function applied to a raster data cube, and where the roi is a vector (sf or shapefile), cut the final classified raster to fit exactly the vector roi

Associated sits API function sits_classify() applied to raster cube with roi parameter defined by a vector multi-polygon.