<div dir="auto">Oh, I see - you just append it all on.<div dir="auto"><br></div><div dir="auto">Thanks! C++ is a real struggle for me, but this is going to be excellent.</div><div dir="auto"><br></div><div dir="auto">Best, Mike</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 15 May 2021, 07:18 Even Rouault, <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Michael,<br>
<br>
<br>
> how do I set the equivalent of eResampleAlg for the GDALWarp *app* ?<br>
><br>
> <a href="https://gdal.org/api/gdal_utils.html#gdal__utils_8h_1ab2094d5332364d63e0851dcb12398469" rel="noreferrer noreferrer" target="_blank">https://gdal.org/api/gdal_utils.html#gdal__utils_8h_1ab2094d5332364d63e0851dcb12398469</a> <br>
> <<a href="https://gdal.org/api/gdal_utils.html#gdal__utils_8h_1ab2094d5332364d63e0851dcb12398469" rel="noreferrer noreferrer" target="_blank">https://gdal.org/api/gdal_utils.html#gdal__utils_8h_1ab2094d5332364d63e0851dcb12398469</a>><br>
><br>
> I think you can't?  GDALWarpAppOptions is for the -wo command line <br>
> equivalents, not the -r (right?)<br>
<br>
GDALWarpAppOptions is for all command line parameters of gdalwarp, not <br>
just -wo<br>
<br>
Usage example at <br>
<a href="https://github.com/OSGeo/gdal/blob/fec15b146f8a750c23c5e765cac12ed5fc9c2b85/gdal/frmts/gtiff/cogdriver.cpp#L512" rel="noreferrer noreferrer" target="_blank">https://github.com/OSGeo/gdal/blob/fec15b146f8a750c23c5e765cac12ed5fc9c2b85/gdal/frmts/gtiff/cogdriver.cpp#L512</a><br>
<br>
Even<br>
<br>
-- <br>
<br>
<a href="http://www.spatialys.com" rel="noreferrer noreferrer" target="_blank">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
</blockquote></div>