pe_vertcs_to_string

Creates a string representation of a vertical coordinate system.

Usage syntax

void pe_vertcs_to_string (PE_VERTCS vertcs, char buffer[PE_BUFFER_MAX]);
 

Parameters
vertcs The vertical coordinate system object
buffer The string representation of the object
Description

Creates a string representation of a vertical coordinate system object. A gravity-related vertical coordinate system will look like:
VERTCS["National_Geodetic_Vertical_Datum_1929",VDATUM["NGVD_1929"],PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],UNIT["Meter",1.0]]

A spheroid- or ellipsoid-based vertical coordinate system will look like:
VERTCS["WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],UNIT["Meter",1.0]]

Returns

None

Examples

char w[PE_BUFFER_MAX];
PE_VERTCS ngvd29 = pe_factory_vertcs(PE_VCS_NGVD_1929);
pe_vertcs_to_string(ngvd29, w);