pe_factory_projcs_codelist

Creates a list of predefined projected coordinate system codes.

Usage syntax

int *pe_factory_projcs_codelist (int *num_codes);

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

Creates a list of the predefined projected coordinate system codes. The list will not include any user-defined projected coordinate systems. You can use pe_predefined_projcs to return a table of projected coordinate systems that includes user-defined projected coordinate systems.

Returns

On success, an array of projected coordinate system codes. On failure, a null pointer.

Examples

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