[Gdal-dev] EPSG file path

Frank Warmerdam fwarmerdam at gmail.com
Fri Feb 11 12:49:14 EST 2005


Adam,

You can override where this code looks for the EPSG calls by setting the
GEOTIFF_CSV environment variable, or by setting it as a configuration
option from code.

eg. 

  CPLSetConfigOption( "GEOTIFF_CSV", "/my/epsg/csv/directory" );


On Fri, 11 Feb 2005 09:31:09 -0800, Adam Guernsey <adam at ctech.com> wrote:
>  
>  
> Hello there, 
>   
> I am looking at implementing the OGRSpatialReference 
> ::importFromEPSG (  int  nCode  )  function.  I have had no problems getting
> it to work, however I was wondering if it was possible to change the path to
> the csv files that it uses for the lookup.  I am using the release right
> now, and would like to do this without altering the source.   
> Thanks 
>   
> Adam Guernsey  
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev
> 
> 
> 


-- 
---------------------------------------+--------------------------------------
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