pe_hvdatum_from_string |
Creates a horizontal or vertical datum from its string representation
PE_HVDATUM pe_hvdatum_from_string (const char *buffer);
buffer | The string representation of the object |
Creates a horizontal or vertical datum object from its string representation
A vertical datum will look like:
VDATUM["NGVD_1929"]
A spheroid- or ellipsoid-based vertical coordinate system will contain a datum:
DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]]
On success, a horizontal or vertical datum object. Otherwise, a null pointer.
PE_HVDATUM ngvd29;
char *hvdatum_metadata = VDATUM[\National_Geodetic_Vertical_Datum_1929\"]”;
ngvd29 = pe_hvdatum_from_string(hvdatum_metadata);