OGRSpatialReference Datum behavior
Ben Discoe
ben at v...
Sun Jul 15 22:29:50 EDT 2001
Sorry about the rash of feedback, but it's been an exciting day of porting
to OGR.
I'm experiencing an odd behavior:
OGRSpatialReference sr;
sr.SetWellKnownGeogCS( "NAD27" );
sr.SetUTM( 10, TRUE );
const char *datum = sr.GetAttrValue("DATUM");
This returns not "North_American_Datum_1927" as expected, but NULL. It is
correct if i don't call SetUTM. Somehow the call to SetUTM is wiping out
the datum. Bug?
Thanks,
Ben
More information about the Gdal-dev
mailing list