[gdal-dev] Faster gdalinfo from COG
even.rouault at spatialys.com
Wed Jan 8 11:10:04 PST 2020
> I believe that I used http url directly after reading some QGIS tutorial
> that suggested that /vsicurl/ is no more needed.
Depends on use cases. If you need to process the whole file and that it can
fit in RAM, then direct http[s:]// without /vsicurl might be slightly faster.
> You are right about how I created the file. I used the GDAL 3.1.0dev COG
> driver and tried to enhance it by computing the statistics with gdal_edit.
OK, I've just pushed a change to emit a warning in such situation
$ python swig/python/scripts/gdal_edit.py -stats byte_cog.tif
Warning 1: The IFD has been rewritten at the end of the file, which breaks COG
Spatialys - Geospatial professional services
More information about the gdal-dev