pe_primem_new

Creates a new prime meridian.

Usage syntax

PE_PRIMEM pe_primem_new (const char *name, double longitude);

Parameters
name Name of the prime meridian object
longitude Longitude value in decimal degrees of the new prime meridian with respect to Greenwich
Description

Defines a new prime meridian object with the specified attributes. Specify the new prime meridian value in decimal degrees, regardless of what angular units are being used in the geographic coordinate system that you're defining. The Greenwich prime meridian is 0.0.

Returns

On success, the specified prime meridian object. On failure, a null pointer.

Examples

PE_PRIMEM pm1 = pe_primem_new("Redlands",-117.333333);