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

2019-03-25 Thread Armin Burger
Just in case someone is interested in a solution for this issue: The most efficient setting was to set the gdal option GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR This can reduce the file stat/open calls noticeably, depending on the raster format. The worst format I found was JP2, which is now unfo

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

2019-03-21 Thread Armin Burger
On 21/03/2019 19:09, Even Rouault wrote: 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 ope

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

2019-03-21 Thread Even Rouault
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 i

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

2019-03-21 Thread Armin Burger
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 check