pe_hvcoordsys_from_string

Creates a string representation of a horizontal and vertical coordinate system

Usage syntax

PE_HVCOORDSYS pe_hvcoordsys_from_string(const char *buffer);

Parameters
buffer The string representation of the object
Description

Creates a horizontal and vertical coordinate system from its string representation.

Returns

On success, a horizontal and vertical coordinate system object; otherwise, a null pointer

Examples

PE_HVCOORDSYS nad27_ngvd29;

char *hvcoordsys_metadata = "GEOGCS[\"GCS_North_American_1927\",DATUM[\"D_North_American_1927\",SPHEROID
[\"Clarke_1866\",6378206.4,294.9786982]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],
VERTCS[\"NGVD_1929\",VDATUM[\"National_Geodetic_Vertical_Datum_1929\"],
PARAMETER[\"Vertical_Shift\",0.0],PARAMETER[\"Direction\",1.0],UNIT[\"Foot_US\",0.3048006096012192]]";

nad27_ngvd29 = pe_hvcoordsys_from_string(hvcoordsys_metadata);