Opened 20 years ago

Closed 9 years ago

#529 closed defect (invalid)

OGCDatumName2EPSGDatumCode() shouldn't use libgeotiff

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by Even Rouault)

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 (2)

comment:1 by warmerdam, 20 years ago

Test bug update.

comment:2 by Even Rouault, 9 years ago

Description: modified (diff)
Resolution: invalid
Status: assignedclosed

I don't think there's really any issue anymore related to that.

Note: See TracTickets for help on using tickets.