pe_datum_from_string

Creates a datum object from its string representation

Usage syntax

PE_DATUM pe_datum_from_string (const char *buffer);

Parameters
buffer The string representation of the datum object
Description

Creates a horizontal datum object from its string representation

Returns

On success, a datum object; otherwise, a null pointer

Examples

PE_DATUM d;

char *datum_metadata = “DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137,298.257223563]]”;

d = pe_datum_from_string(datum_metadata);