pe_datum_new

Creates a new datum

Usage syntax

PE_DATUM pe_datum_new (const char *name, PE_SPHEROID spheroid);

Parameters
name Name of the new datum
spheroid Spheroid of the datum
Description

Defines a new horizontal datum with the specified attributes

Returns

On success, the new datum with the attributes equal to the corresponding arguments; on failure, a null pointer

Examples

PE_DATUM wgs84 = pe_datum_new("D_WGS_1984",pe_factory(PE_S_WGS_1984));