[gdal-dev] wrapper_GDALWarpDestName returned NULL without setting an error - from Python gdalwarp interface

Even Rouault even.rouault at spatialys.com
Mon Jun 27 04:42:45 PDT 2016


Robin,

> 
> Am I doing something wrong here in how I set the parameters for the
> gdal.Warp call?

Yes. All "librarified" command line utilities have been designed with the 
gdal.XXXX(dest, source, ....) convention (similarly to Dataset.CreateCopy() 
for example), so if you switch your 2 first arguments that should work.

Even

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


More information about the gdal-dev mailing list