Dear list,
When I use gdalwarp from command line and set output to an existing file,
the contents get mosaic-ed in the existing file (as expected and
documented).
$> gdalwarp -cutline cutline.shp source.tif dest.tif
But when doing the from python, the existing destination file get
overwritten.
gdal.Warp("dest.tif", "source.tif", cutlineDSName="cutline.shp")
Is there a flag or something to achieve same behaviour as command line ? I
looked carefully in the python api doc, but couldn't find it...
Cheers !!
Olivier
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev