pe_geogcs_new

Creates a new geographic coordinate system.

Usage syntax

PE_GEOGCS pe_geogcs_new (const char *name, PE_DATUM datum, PE_PRIMEM primem, PE_UNIT unit);

Parameters
name Name of the new geographic coordinate system
datum Datum of the coordinate system
primem Prime meridian of the coordinate system
unit Geographic coordinate system units
Description

Defines a new geographic coordinate system with the specified attributes.

Returns

On success, the new coordinate system with the attributes equal to the corresponding arguments. On failure, a null pointer.

Examples

PE_GEOGCS gcs = pe_geogcs_new("GCS1", wgs84, bogota, dd);