Skip to main content

Hi,

I have gone through the sentinel2-cloud-detector-example in jupyter notebook. It has worked very well for my area of interest. But how do I export the resulting masks in vector or raster format?


thanks

I suggest checking out rasterio package which implements basic tools for exporting numpy arrays into geotiffs and for converting rasters to vectors.


Another option is to check out eo-learn which wraps both s2cloudless and rasterio in a form of EOTasks. There you can simply chain together tasks such as eolearn.mask.AddCloudMaskTask, eolearn.io.ExportToTiff and eolearn.io.RasterToVector.


Thanks for the advice maleksandrov. I’ll check out both and hopefully get it working.


Reply