Black border after running rio mask


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 to automatically receive all group messages.