pe_geogtran_parameters

Retrieves the parameters of a geographic transformation.

Usage syntax

void pe_geogtran_parameters (PE_GEOGTRAN geogtran, PE_PARAMETER parameters[PE_PARM_MAX]);

Parameters
geogtran Geographic transformation object
parameters The array of any needed geographic transformation parameters
Description

Returns the parameters of a geographic transformation. The parameters can include

PE_PARM_DX     /*  X-axis translation */
PE_PARM_DY     /*  Y-axis translation */
PE_PARM_DZ     /*  Z-axis translation */
PE_PARM_RX     /*  X-axis rotation */
PE_PARM_RY     /*  Y-axis rotation */
PE_PARM_RZ     /*  Z-axis rotation */
PE_PARM_DS     /*  Scale difference */
PE_PARM_XCR    /*  X coordinate of rotation origin */
PE_PARM_YCR    /*  Y coordinate of rotation origin */
PE_PARM_ZCR    /*  Z coordinate of rotation origin */
PE_PARM_ND     /*  Name of dataset for file-based methods */

You should initialize the elements of the parameter array. See below for an example.

Returns

On success, an array of parameters for the geographic transformation. On failure, a null pointer.

Examples

PE_PARAMETER gt_par[PE_PARM_MAX];
for (i=0; i<PE_PARM_MAX; i++)
{
   gt_par[i] = (PE_PARAMETER)0;
}
pe_geogtran_parameter(agd2wgs, gt_par);