Thank you Even.

Shawn

________________________________________
From: Even Rouault [[email protected]]
Sent: January-09-19 4:40 AM
To: [email protected]
Cc: Gong, Shawn
Subject: Re: [gdal-dev] gdalwarp -overwrite

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
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to