[Gdal-dev] Problem using EPSG in C#
Frank Warmerdam
warmerdam at pobox.com
Tue May 8 12:12:15 EDT 2007
Tomas R wrote:
> What I guess I miss is how to set up the paths and so between/to the
> different data files.
> GDAL is located in FWTools\bin (on the PATH)
> EPSG-catalouge in FWTools\Data (also on the PATH) and also copied to the
> VSE project.
> But how SHOULD it be? I stumble in darkness...
Tomas,
I think what you need to do is call Gdal.PushFinderLocation()
with the path to the GDAL data directory as the argument.
When applications are run from within the FWTools Shell this is
accomplished via an environment variable (GDAL_DATA), but freestanding
applications can call CPLPushFinderLocation() which in the csharp
bindings is (I believe) known as Gdal.PushFinderLocation().
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