[Gdal-dev] ECW coordinate system definitions (and other proprietary
definition methods)
Brent Fraser
bfraser at geoanalytic.com
Thu Aug 26 12:53:10 EDT 2004
Frank,
While doing some work trying to create the coordinate system definitions for MapInfo's TAB file (yuck!), I noticed that some interpretation of ERMapper's ECW coordinate systems has been done about a year ago. Due to the current path searching setup for GDAL, it will only work if the translation file (ecw_cs.dat) is in "/usr/local/share/gdal" or the current working directory.
I made a small change to my local copy of cpl_findfile.cpp to include the place where the PROJ data files are kept (defined by the PROJ_LIB environment variable); at line 74:
CPLPushFinderLocation( "." );
CPLPushFinderLocation( CPLGetConfigOption("PROJ_LIB","/proj/nad") );
But perhaps it should also include the directory of the executable (or a "data" subdir)? Your thoughts?
Thanks!
Brent Fraser
GeoAnalytic Inc.
Tel:(403) 213-2700
bfraser at geoanalytic.com
www.geoanalytic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040826/7214e480/attachment.html
More information about the Gdal-dev
mailing list