pe_factory_geogcs_codelist |
Creates a list of predefined geographic coordinate system codes.
int *pe_factory_geogcs_codelist (int *num_codes);
num_codes | A pointer to the integer, which upon return will contain the number of predefined geographic coordinate system object codes in the array |
This function creates a list of the predefined geographic coordinate system codes. The list will not include any user-defined geographic coordinate systems. You can use pe_predefined_geogcs to return a table of geographic coordinate systems that includes user-defined geographic coordinate systems.
On success, an array of geographic coordinate system codes. On failure, a null pointer.
int *list; int number, i; list = pe_factory_geogcs_codelist(&number); printf("Total number of predefined geographic coordinate systems: %6d\n",number); for (i=0; i<number; i++) { printf("%6d\n",list[i]); } pe_factory_codelist_del(list);