pe_geogtran_to_string_ext |
Creates an extended string representation of a geographic (datum) transformation
void pe_geogtran_to_string_ext (PE_GEOGTRAN geogtran, int mode, char buffer[PE_BUFFER_MAX]);
geogtran | The geogtran object |
mode | The mode of the string representation |
buffer | The string representation of the object |
This function creates an extended string representation of a geogtran 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_geogtran_to_string_ext, the GEOGTRAN is considered the top-level object. Thus, any subobjects like DATUM and SPHEROID would not include authority information if the mode is set to PE_STR_AUTH_TOP.
None
Mode is set to PE_STR_AUTH_ALL. The string is formatted for readability.
GEOGTRAN["NAD_1983_HARN_PACP00_MARP00_To_WGS_1984", GEOGCS["GCS_North_American_1983_HARN", DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101,AUTHORITY["EPSG",7019]],AUTHORITY["EPSG",6152]], PRIMEM["Greenwich",0.0,AUTHORITY["EPSG",8901]],UNIT["Degree",0.0174532925199433,AUTHORITY["EPSG",9102]],AUTHORITY["EPSG",4152]], 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]], METHOD["Coordinate_Frame",AUTHORITY["EPSG",9607]], PARAMETER["X_Axis_Translation",-0.9102,AUTHORITY["ESRI",100040]], PARAMETER["Y_Axis_Translation",2.0141,AUTHORITY["ESRI",100041]], PARAMETER["Z_Axis_Translation",0.5602,AUTHORITY["ESRI",100042]], PARAMETER["X_Axis_Rotation",-0.029039,AUTHORITY["ESRI",100043]], PARAMETER["Y_Axis_Rotation",-0.010065,AUTHORITY["ESRI",100044]], PARAMETER["Z_Axis_Rotation",-0.010101,AUTHORITY["ESRI",100045]], PARAMETER["Scale_Difference",0.0,AUTHORITY["ESRI",100046]], AUTHORITY["ESRI",108307]]