pe_adjhcs_from_string

Creates an adjusted horizontal coordinate system object from its string representation

Usage syntax

PE_ADJHCS pe_adjhcs_from_string (const char *buffer);

Parameters
buffer The string representation of the adjusted horizontal coordinate system object
Description

This function creates an adjusted horizontal coordinate system object from its string representation.

Returns

On success, an adjusted horizontal coordinate system object; otherwise, a null pointer

Examples

PE_ADJHCS acs;

char *cs_metadata = "ADJHCS[\"Test\",PROJCS["Custom",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]],HTMETHOD[\"Affine_Parametric\"],ARRAY[\"Coefficients\",6,0.032,-0.045,-0.0071,0.038,0.559,0.0661],UNIT[\"Foot\",0.3048]]";

acs = pe_adjhcs_from_string(cs_metadata);