pe_nga_gt_code_to_factory_gt_code |
Returns the factory code of the specified NGA datum keyword
int pe_nga_gt_code_to_factory_gt_code(const char *ncode);
ncode | The string that represents the NGA datum object |
This function returns the factory code of the corresponding geographic (datum) transformation object of the specified NGA datum. NGA datums have 3 or 5 letter names like KEA and ADI-A.
On success, the factory code of a predefined geographic transformation; on failure, zero
int gt1_code;
const char *datum = "ADI-D";
gt1_code = pe_nga_gt_code_to_factory_gt_code(datum);