pe_factory_projection

Creates the specified map projection object.

Usage syntax

PE_PROJECTION pe_factory_projection (int code);

Parameters
code The code of the predefined map projection object
Description

Creates the predefined map projection object with the specified code.

Returns

On success, the new map projection object. On failure, a null pointer.

Examples

PE_PROJECTION mercator = pe_factory_projection(PE_PRJ_MERCATOR);