Ticket #529 (assigned defect)

Opened 4 years ago

Last modified 4 years ago

OGCDatumName2EPSGDatumCode() shouldn't use libgeotiff

Reported by: warmerdam Assigned to: warmerdam (accepted)
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

Currently OGCDatumName2EPSGDatumCode() in gdal/frmts/gtiff/gt_wkt_srs.cpp
will use the libgeotiff versions of stuff like CSVReadParseLine() but it
shouldn't since it is using the gdal gdal_datum.csv.  This file might not
be found with the libgeotiff version of stuff.  Also, if libgeotiff is using
"incode" tables, no records can be read with the stub CSVReadParseLine() 
then available. 

Instead, this function should be moved into gdal/ogr/ogr_from_epsg.cpp (or
somewhere similar) and avoid including any libgeotiff related include files.

Change History

04/13/04 15:39:53 changed by warmerdam

Test bug update.