[Gdal-dev] arcinfo grid gotcha

Frank Warmerdam warmerdam at pobox.com
Wed Dec 10 09:06:59 EST 2003


Matt Wilkie wrote:
> With gdal 1.1.9 compiled under cygwin only the GIO driver is used, with 
> or without a trailing slash. This is undesirable because the AIG driver 
> is superior, at least with the data we use. (Presumably one could 
> compile v119 without GIO). Is there a mechanism to force which driver is 
> used to read the source data set?

Matt,

 From within a program you can use GDALDriverManager::DeregisterDriver()
to remove the GIO driver.

Users can set the GDAL_SKIP environment variable with a list of space
seperated driver names that they wish to not be used.

eg.

set GDAL_SKIP="GIO"
gdalinfo mygrid

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    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list