pe_vertcs_to_string_ext

Creates an extended string representation of a vertical coordinate system

Usage syntax

void pe_vertcs_to_string_ext (PE_VERTCS vertcs, int mode, char buffer[PE_BUFFER_MAX]);

Parameters
vertcs The vertcs object
mode The mode of the string representation
buffer The string representation of the object
Description

This function creates an extended string representation of a vertical coordinate system.

The values for the mode parameter are:

   PE_STR_AUTH_NONE   0  /* No authority information */
   PE_STR_AUTH_TOP    1  /* Only include authority information for the top-level object */
   PE_STR_AUTH_ALL    2  /* Include authority information for all objects */

In pe_vertcs_to_string_ext, the VERTCS is considered the top-level object. Thus, any subobjects like the UNIT would not include authority information if the mode is set to PE_STR_AUTH_TOP.

Returns

None

Examples

The mode is PE_STR_AUTH_ALL. The string is formatted for readability.

VERTCS["Piraeus",
   VDATUM["Piraeus_Harbour_1986",AUTHORITY["EPSG",5115]],
   PARAMETER["Vertical_Shift",0.0,AUTHORITY["ESRI",100006]],
   PARAMETER["Direction",1.0,AUTHORITY["ESRI",100007]],
   UNIT["Meter",1.0,AUTHORITY["EPSG",9001]],
AUTHORITY["EPSG",5716]]