[gdal-dev] help with GDALWarpApp - resample options

Even Rouault even.rouault at spatialys.com
Fri May 14 14:18:33 PDT 2021


Michael,


> how do I set the equivalent of eResampleAlg for the GDALWarp *app* ?
>
> https://gdal.org/api/gdal_utils.html#gdal__utils_8h_1ab2094d5332364d63e0851dcb12398469 
> <https://gdal.org/api/gdal_utils.html#gdal__utils_8h_1ab2094d5332364d63e0851dcb12398469>
>
> I think you can't?  GDALWarpAppOptions is for the -wo command line 
> equivalents, not the -r (right?)

GDALWarpAppOptions is for all command line parameters of gdalwarp, not 
just -wo

Usage example at 
https://github.com/OSGeo/gdal/blob/fec15b146f8a750c23c5e765cac12ed5fc9c2b85/gdal/frmts/gtiff/cogdriver.cpp#L512

Even

-- 

http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list