[Gdal-dev] Small fix for geo_normalize.c in libgeotiff

Roger James roger at beardandsandals.co.uk
Mon Jun 7 07:37:08 EDT 2004


In recent builds the name of the datum.csv has changed to
gdal_datum.csv. This change has not been picked up in geo_nomalize.c.

 

int GTIFGetDatumInfo( int nDatumCode, char ** ppszName, short *
pnEllipsoid )

 

{

    char    szSearchKey[24];

    int           nEllipsoid;

    const char *pszFilename = CSVFilename( "datum.csv" );

 

The simple change would be 

 

    const char *pszFilename = CSVFilename( "gdal_datum.csv" );

 

however a backward compatible change such as has been applied elesewhwew
requires more thought.

 

Roger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20040607/bf19916f/attachment.html


More information about the Gdal-dev mailing list