[Gdal-dev] GDALOpenInfo question
Meek, Allan
Allan.Meek at drdc-rddc.gc.ca
Mon Feb 12 17:01:06 EST 2007
Hi,
In GDALOpenInfo::GDALOpenInfo(const char * pszFilenameIn, GDALAccess
eAccessIn), VSIFOpen tries to open the specified image. If it succeeds,
it reads in 1024 bytes, then calls VSIRewind. If it fails, VSIFOpenL
tries to open the file. If this succeeds, 1024 bytes are read, then the
file is closed.
Is there a reason for this difference? Shouldn't the file just be
rewinded in the second case?
Thanks,
Allan Meek
More information about the Gdal-dev
mailing list