SDTS
Ben Discoe
ben at v...
Sat Jul 7 07:05:56 EDT 2001
Some more feedback on loading SDTS DEM with GDAL.
My previous code which used an old version of "libsdts++" did the following,
to get the datum out of a SDTS DEM:
sb_ExtSpatialRef *pXREF;
pXREF = new sb_ExtSpatialRef(record);
// Find Datum type...
const char * strDatum = pXREF->getHorizDatum().c_str();
if (!strcmp(strDatum, "NAS") )
m_Datum = NAD27;
else if (!strcmp(strDatum, "WGC") )
[....]
When i now use GDALOpen() and GetProjectionRef(), i get a string:
"+proj=utm +zone=10 +ellps=clrk66 "
.. which doesn't contain the datum. Shouldn't it be contained in this
string?
-Ben
More information about the Gdal-dev
mailing list