pe_projection_from_string

Creates a map projection object from its string representation

Usage syntax

PE_PROJECTION pe_projection_from_string (const char *buffer);

Parameters
buffer The string representation of the map projection object
Description

PE_projection_from_string creates a map projection object from its string representation.

Returns

On success, a map projection object; otherwise, a null pointer

Examples

PE_PROJECTION proj;

char *proj_metadata = “PROJECTION[\"Mercator\"]”;

proj = pe_projection_from_string(proj_metadata);