pe_factory_geogtran_codelist

Creates a list of predefined geographic tranformation codes.

Usage syntax

int *pe_factory_geogtran_codelist (int *num_codes);

Parameters
num_codes A pointer to the integer, which upon return, will contain the number of predefined geographic transformation object codes in the array
Description

Creates a list of the predefined geographic tranformation codes. The list will not include any user-defined geographic transformations. You can use pe_predefined_geogtran to return a table of geographic transformations that includes user-defined geographic transformations.

Returns

On success, an array of geographic tranformation codes. On failure, a null pointer.

Examples

int *list; int number, i; list = pe_factory_geogtran_codelist(&number); printf("Total number of predefined geographic tranformations: %6d\n",number); for (i=0; i<number; i++) { printf("%6d\n",list[i]); } pe_factory_codelist_del(list);