[gdal-dev] Check of sibling files when opening an image file

Even Rouault even.rouault at spatialys.com
Thu Mar 21 11:09:58 PDT 2019


On jeudi 21 mars 2019 18:34:11 CET Armin Burger wrote:
> Hi all
> 
> When gdal opens a file, it checks for various sibling files, like *.MTL,
> *.aux.xml, *.RPC, etc (this is the case when the full directory scanning
> is deactivated). This can be ~30 stat or open requests when opening a
> single image file. Is there a way to define the file types that gdal
> checks for their existence, thus allowing to reduce this to the pure
> minimum, like *.ovr files only? Is this check driver dependent?

If using /vsicurl/ and derived file systems, you can use
CPL_VSIL_CURL_ALLOWED_EXTENSIONS=".tif,.ovr" for example

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list