Opened 15 years ago

Closed 4 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:

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 Changed 15 years ago by warmerdam

Test bug update.

comment:2 Changed 4 years ago by Even Rouault

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.