[gdal-dev] EPSG code question

Even Rouault even.rouault at mines-paris.org
Sat Mar 21 07:59:15 EDT 2009


Markus,

Yes, you probably need to insert a new definition ito pcs.csv / gcs.csv.
I believe the CSV files in $(GDAL_ROOT)/data come from libgeotiff and are 
derived from the EPSG database. See the README in  
http://trac.osgeo.org/geotiff/browser/trunk/libgeotiff/csv

But if you don't want to hack those CSV files, maybe the simpler solution 
would be to specify your projection as a WKT string instead of an EPSG code. 
That way, GDAL wouldn't have to query the CSV files in order to build the WKT 
string (GDAL/OGR internal model for storing SRS is a tree based on WKT 
representation).

Best regards,

Even


More information about the gdal-dev mailing list