pe_hvdatum_to_string

Creates a string representation of a horizontal or vertical datum.

Usage syntax

void pe_hvdatum_to_string (PE_HVDATUM vdatum, char buffer[PE_BUFFER_MAX]);

Parameters
hvdatum The horizontal or vertical datum object
buffer The string representation of the object
Description

Creates a string representation of a horizontal or vertical datum object.

A gravity-related vertical coordinate system will contain a vertical datum:
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]]

Returns

None

Examples

char w[PE_BUFFER_MAX];
PE_HVDATUM ngvd29 = pe_factory_vdatum(PE_VERTD_NGVD_1929);
pe_hvdatum_to_string(ngvd29, w);