pe_projcs_from_string

Creates a projected coordinate system object from its string representation

Usage syntax

PE_PROJCS pe_projcs_from_string (const char *buffer);

Parameters
buffer The string representation of the projected coordinate system object
Description

Creates a projected coordinate system object from its string representation

Returns

On success, a projected coordinate system object; otherwise, a null pointer

Examples

PE_PROJCS pcs;

char *pcs_metadata = “PROJCS[\"Test\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID
[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION
[\"Mercator\"],PARAMETER[\"false_easting\",1000000],UNIT[\"Foot\",0.3048]]”;

pcs = pe_projcs_from_string(pcs_metadata);