<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Jukka,<div class="">The time you are seeing is related to your configuration and not specifically to the file itself. </div><div class=""><br class=""></div><div class="">If you set `GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR` in your env, you’ll see that gdalinfo will be much faster. </div><div class=""><br class=""></div><div class="">```</div><div class=""><div class="">$ time GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR gdalinfo /vsicurl/<a href="http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif" class="">http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif</a></div><div class="">...</div><div class="">GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR gdalinfo   0.05s user 0.04s system 6% cpu 1.341 total</div><div>```</div><div><br class=""></div><div>```</div><div>$ time GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR gdalinfo /vsicurl/<a href="http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif" class="">http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif</a></div><div>...</div><div>gdalinfo /vsicurl/<a href="http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif" class="">http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif</a>  0.12s user 0.23s system 2% cpu 11.719 total</div><div>```</div><div><br class=""></div><div>Vincent</div><div><br class=""><blockquote type="cite" class=""><div class="">Le 8 janv. 2020 à 12:21, Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" class="">jukka.rahkonen@maanmittauslaitos.fi</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi,<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">Cloud optimized GeoTIFF is rather fast for almost anything else but not for checking what it is with gdalinfo. I wonder if we could have some “summary only” mode in gdalinfo that reads just what is known to be fast to read from the image metadata. What gdalinfo is actually doing when it spends five minutes before it prints info about<span class="Apple-converted-space"> </span><a href="http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://latuviitta.kapsi.fi/data/jarvi_dem/saimaa_dem.tif</a>? For me it seems that the whole report could be generated from either the baseline tiff tags or from the GeoTIFF and GDAL tags, even statistics which I added with gdal_edit.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-US" class="">-Jukka Rahkonen-<o:p class=""></o:p></span></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">gdal-dev mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:gdal-dev@lists.osgeo.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">gdal-dev@lists.osgeo.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div></blockquote></div><br class=""></div></body></html>