[Gdal-dev] ogr2ogr

Frank Warmerdam warmerdam at pobox.com
Thu Jan 25 08:22:04 EST 2007

Gennady Khokhorin wrote:
> Frank,
> I'm debuging ogr2ogr and have couple questions about program structure.
> 1. Should --config "GDAL_DATA" be applyed in ogr2ogr command? If so I dont see
> args handling --config in ogr2ogr.cpp. How this variable gets into the code?
> 2. What the story with OGR_DRIVER_PATH, GDAL_DRIVER_PATH in OGRSFDriverREgistrar::AutoLoadDrivers()?
> Should I set it up at run time?


I see Mateusz has covered off config variables in some detail.

Normally you should not need OGR_DRIVER_PATH and GDAL_DRIVER_PATH.  They
are really for the special circumstance where some drivers are being
handled as plugins.

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