[gdal-dev] help with GDALWarpApp - resample options

Michael Sumner mdsumner at gmail.com
Fri May 14 14:20:43 PDT 2021


Oh, I see - you just append it all on.

Thanks! C++ is a real struggle for me, but this is going to be excellent.

Best, Mike

On Sat, 15 May 2021, 07:18 Even Rouault, <even.rouault at spatialys.com> wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210515/c3379ba5/attachment-0001.html>


More information about the gdal-dev mailing list