pe_geogtran_new |
Creates a new geographic transformation
PE_GEOGTRAN pe_geogtran_new (const char *name, PE_GEOGCS geogcs1, PE_GEOGCS geogcs2, PE_METHOD method, PE_PARAMETER parameters[PE_PARM_MAX]);
name | Name of the new geographic transformation |
geogcs1 | The from geographic coordinate system |
geogcs2 | The to geographic coordinate system |
method | The geographic transformation method |
parameters | Any parameters needed by the method for the specific transformation |
Defines a new geographic transformation with the specified attributes. When creating the parameter array object, initialize all elements as null pointers. See pe_parameter_new for a sample.
On success, the new geographic transformation with the attributes equal to the corresponding arguments; on failure, a null pointer
PE_GEOGTRAN agd2gda = pe_geogtran_new("AGD84_to_WGS84",
PE_GCS_AGD_1984,
PE_GCS_WGS_1984, PE_MTH_COORDINATE_FRAME, gt_par);