pe_geogcs_from_string |
Creates a geographic coordinate system object from its string representation
PE_GEOGCS pe_geogcs_from_string (const char *buffer);
buffer | The string representation of the geographic coordinate system object |
Creates a geographic coordinate system object from its string representation
On success, a geographic coordinate system object; otherwise, a null pointer
PE_GEOGCS gcs;
char *gcs_metadata = GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",
SPHEROID[\"WGS_1984\",6378137,298.257223563]],PRIMEM[\"Greenwich\",0],
UNIT[\"Degree\",0.0174532925199433]];
gcs = pe_geogcs_from_string(gcs_metadata);