Black border after running rio mask


ts@...
 
Edited

Dear Rasterio developers and users,

I' m masking geotiff files with geojson polygons:

rio mask --overwrite --crop in.tif out.tif --geojson-mask mask.geojson 

Unfortunately after doing so black artificats showing up around the cropped area.



Is there a way to avoid this artifacts?

Join main@rasterio.groups.io to automatically receive all group messages.