pe_spheroid_from_string

Creates a spheroid object from its string representation

Usage syntax

PE_SPHEROID pe_spheroid_from_string (const char *buffer);

Parameters
buffer The string representation of the spheroid object
Description

Creates a spheroid object from its string representation

Returns

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

Examples

PE_SPHEROID s;

char *sph_metadata = “SPHEROID[\"WGS_1984\",6378137,298.257223563]”;

s = pe_spheroid_from_string(sph_metadata);