pe_verttran_to_string_ext

Creates an extended string representation of a vertical transformation

Usage syntax

void pe_verttran_to_string_ext (PE_VERTTRAN verttran, int mode, char buffer[PE_BUFFER_MAX]);

Parameters
verttran The vertical transformation object
mode The mode of the string representation
buffer The string representation of the object
Description

Creates an extended string representation of a vertical transformation object

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_verttran_to_string_ext, the VERTTRAN is considered the top-level object. Thus, any subobjects, such as VERTCS and VTMETHOD, do not include authority information if the mode is set to PE_STR_AUTH_TOP.

Returns

None

Examples

Mode is set to PE_STR_AUTH_ALL. The string is formatted for readability.

VERTTRAN["WGS_1984_To_EGM_1996_Geoid_1",
GEOGCS["GCS_WGS_1984",
DATUM["D_WGS_1984",
SPHEROID["WGS_1984",6378137.0,298.257223563,AUTHORITY["EPSG",7030]],AUTHORITY["EPSG",6326]],
PRIMEM["Greenwich",0.0,AUTHORITY["EPSG",8901]],
UNIT["Degree",0.0174532925199433,AUTHORITY["EPSG",9102]],AUTHORITY["EPSG",4326]],
VERTCS["WGS_1984",
DATUM["D_WGS_1984",
SPHEROID["WGS_1984",6378137.0,298.257223563,AUTHORITY["EPSG",7030]]],AUTHORITY["EPSG",6326]],
PARAMETER["Vertical_Shift",0.0,AUTHORITY["ESRI",100006]],
PARAMETER["Direction",1.0,AUTHORITY["ESRI",100007]],
UNIT["Meter",1.0,AUTHORITY["EPSG",9001]],AUTHORITY["ESRI",115700]],
VERTCS["EGM96_Geoid",
VDATUM["EGM96_Geoid",AUTHORITY["EPSG",5171]],
PARAMETER["Vertical_Shift",0.0,AUTHORITY["ESRI",100006]],
PARAMETER["Direction",1.0,AUTHORITY["ESRI",100007]],
UNIT["Meter",1.0,AUTHORITY["EPSG",9001]],AUTHORITY["EPSG",5773]],
VTMETHOD["EGM96",AUTHORITY["ESRI",129661]],
PARAMETER["Dataset_egm96.grd",0.0,AUTHORITY["ESRI",100047]]],
AUTHORITY["EPSG",10084]]