Matt,
There has been an enhancement in gdalwarp to support writing directly to
drivers, like COG, that supports only the CreateCopy mode. So you don't
need the 2 step process and can directly gdalwarp -of COG (it will more
or less do the 2 steps internally)
If you output to regular GTiff, the 2 step process might be needed to
get the best compression
Even
Le 30/12/2021 à 22:29, [email protected] a écrit :
A few years ago it was best practice to follow a gdal warp process
with translate in order to get better compression, and even overall
speed although extra disk write is involved. Is this still the case?
and when using COG output driver? e.g.
gdalwarp infile.tif interim.tif
gdal_translate -of cog -co compress=zstd interim.tif final.tif
thanks!
*Matt Wilkie*
Geomatics Developer & Administrator
Environment | Technology, Innovation and Mapping
T 867-667-8133 | _Yukon.ca <http://yukon.ca/>_
/Hours: 08:30-16:30, Mon-Wed: Office, Thu: Remote, Fri: Away./
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev