pe_projcs_from_string |
Creates a projected coordinate system object from its string representation
PE_PROJCS pe_projcs_from_string (const char *buffer);
buffer | The string representation of the projected coordinate system object |
Creates a projected coordinate system object from its string representation
On success, a projected coordinate system object; otherwise, a null pointer
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);