[gdal-dev] gdalwarp -overwrite

Even Rouault even.rouault at spatialys.com
Wed Jan 9 01:40:43 PST 2019


On mardi 8 janvier 2019 21:27:54 CET Gong, Shawn wrote:
> Hi list,
> 
> I am switching from calling gdalwarp to using gdal.Warp( )
> One of the gdalwarp parameters is "-overwrite" but I can't find it in
> gdal.WarpOptions
> 
> Do I need it, is it a default option if I don't specify it?

If you use a string for the output filename as the first argument, then it 
will operate in overwrite mode.
If you use a dataset object opened in update mode, then it will operate in 
update mode.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list