pe_coordsys_to_string

Creates a string representation of a coordinate system

Usage syntax

void pe_coordsys_to_string (PE_COORDSYS coordsys, char buffer[PE_BUFFER_MAX]);

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

This function reates a string representation of the coordinate system object. If it is a projected coordinate system, the format is:

PROJCS["name",GEOGCS["name",DATUM["name", SPHEROID["name",axis,1/f]],PRIMEM["name",longitude],
UNIT["name",conversion factor]],PROJECTION["name"],
PARAMETER["name",value],UNIT["name",conversion factor]]

The format of a geographic coordinate system is:
GEOGCS["name",DATUM["name",SPHEROID["name",axis,1/f]], PRIMEM["name",longitude], UNIT["name",conversion factor]]

Returns

None

Examples

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]]