Re: [gdal-dev] gdalinfo on large vrt takes a long time

2023-06-08 Thread Even Rouault
William, it might be perhaps related to the GetMinimum() call done by gdalinfo. Cf https://trac.osgeo.org/gdal/ticket/5444 But normally it should only try to open the first source, and not all of them. At least that's what I could confirm on a quick testing. But I do see that the CanUseSourc

[gdal-dev] gdalinfo on large vrt takes a long time

2023-06-08 Thread William Kyngesburye
I'm writing a script that needs some info from a vrt raster, and one has thousands of files. When reading the vrt over the internet (vpn to our server) it takes a long time. I think it's looking at every file of the vrt. What is gdal reading from the files that's not in the vrt itself? I used a