[Gdal-dev] Re: gdal fails on vrt (virtual raster) file

WolfgangZ wollez at gmx.net
Fri Sep 7 01:48:22 EDT 2007


Even Rouault schrieb:
> Wolfgang,
> 
> I'm not sure at all, but I have maybe an idea of what is going wrong.
> I ran recently into a similar problem with VRT made of several thousands of 
> files, since when we open the VRT, we open each single dataset. This leads to 
> a number of opened file descriptors > 1024 which is the usual limit for a 
> Linux userland process. This has nothing to do with available RAM. The reason 
> for it to work on Windows is that Windows has maybe a greater limit for 
> opened files.
> Does "gdalinfo /sonstiges/GIS/Frankreich/Frankreich250k/20/39_20.jpg" work ? 
> If it does, it may confirm my theory.

gdalinfo works well on single images!

> 
> I've recently posted a patch in GDAL trac 
> (http://trac.osgeo.org/gdal/ticket/1781) that fixed the issue on my big VRTs 
> but it's probably too experimental/nasty to be applied in its current state.
> 
> If you have the opportunity to build GDAL from subversion trunk, you could 
> apply it and test if it improves the situation for you too.

perhaps next week I will find the time to try compiling on my own.

Regards
Wolfgang




More information about the Gdal-dev mailing list