pe_factory_gt_code_to_nga_gt_code

Returns the NGA datum name of the specified geographic transformation code.

Usage syntax

const char * pe_factory_gt_code_to_nga_gt_code(int fcode);

Parameters
fcode The factory code of the geographic transformation object
Description

Returns the NGA datum name of the corresponding geographic (datum) transformation code. NGA datums have 3 or 5 letter names like KEA and ADI-A.

Returns

On success, the NGA datum name of a predefined geographic transformation. On failure, a null pointer.

Examples

int gt1_code;
char *datum[6];

gt1_code = 1100;

datum = pe_factory_gt_code_to_nga_gt_code(gt1_code);
/* result: datum name = ADI-M */