<div dir="ltr">I think for gdal_translate I need both open and creation options (-oo and -co), right?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, 29 Jul 2025 at 18:30, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Javier,<br>
<br>
for gdal_translate to COG, both should be equivalent.<br>
<br>
for gdalwarp,   -wo NUM_THREADS=ALL_CPUS -co NUM_THREADS=ALL_CPUS (ie <br>
enabling multithreading for warping and GeoTIFF output)   will be <br>
equivalent to --config GDAL_NUM_THREADS=ALL_CPUS<br>
<br>
Note that you can also do gdalwarp directly to COG. This should do the <br>
right things<br>
<br>
Even<br>
<br>
Le 29/07/2025 à 18:25, Javier Jimenez Shaw via gdal-dev a écrit :<br>
> Hi<br>
><br>
> I am running a gdalwarp from UTM xx to EPSG:3857 and later a <br>
> gdal_translate to COG (the input is a normal GeoTIFF). Two steps. All <br>
> inputs and outputs are TIFF.<br>
><br>
> Is there any difference between using the config variable<br>
> GDAL_NUM_THREADS=ALL_CPUS<br>
> than using the creation option for the TIFFs<br>
> NUM_THREADS=ALL_CPUS<br>
><br>
> What is the fastest combination?<br>
><br>
> Thanks.<br>
><br>
><br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
-- <br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
My software is free, but my time generally not.<br>
<br>
</blockquote></div>