[gdal-dev] Re: GDAL 1.5.0 is slow
Frank Warmerdam
warmerdam at pobox.com
Wed Mar 5 14:40:21 EST 2008
Michael Workman wrote:
> Frank
>
> Was able to fix my 64 bit problem by adding /usr/lib64 to my LD_LIBRARY_PATH.
> Compiles and links fine now. Onward to other issues.
>
> I am having problems with the time it takes to run GDAL apps. For example, there
> are a number of versions of gdalinfo on my system. A few:
>
> ~> <FWTools-2.0>/bin_safe/gdalinfo --version
> GDAL 1.5dev, FWTools 2.0.0, released 2007/11/12
> ~> <gdal-1.5.0>/apps/gdalinfo --version
> GDAL 1.5.0, released 2007/12/18
> ~> /usr/local/bin/gdalinfo --version
> GDAL 1.3.2.0, released 2006/05/02
>
> When I am in a directory with a huge number of NITF files and run the gdalinfo
> v1.5 versions on a single filename, it takes one to two minutes to return. If I
> run gdalinfo v1.3.2, it returns immediately. If I take that same file and place
> it by itself under my home directory, All three versions return quickly. I was
> told this might have been addressed in the list before, but I have not found where.
>
> Any ideas what is happening?
Mike,
This is:
http://trac.osgeo.org/gdal/ticket/2158
For reasons that are not clear to me, scanning the list of files in
a directory with a lot of files is inordinately expensive in some
situations. There is a patch that allows working around this problem
though I have yet to make a final decision on what to do about it.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list