SE_coordref_set_by_description

Sets the coordinate system for the supplied coordinate reference object with a description

Usage syntax

LONG SE_coordref_set_by_description (SE_COORDREF coordref, const CHAR *description);

Parameters
coordref A pointer to the coordinate reference object
description A pointer to a character string representation of the coordinate system
Description

Sets the coordinate system for the supplied coordinate reference object by a character string description. The coordinate system is defined as a character string description suitable for use by this function or the Projection Engine functions pe_projcs_from_string or pe_geogcs_from_string.

If both vertical coordinate system and horizontal coordinate system are defined in the description string then both coordinate system objects will be created. If description contains only one coordinate system component only that coordinate system will be created. No coordinate system will be created for UNKNOWN string.

To set the coordinate system to unknown, use UNKNOWN or UNSPECIFIED for the description parameter. 

Returns

SE_SUCCESS
SE_INVALID_COORDREF_OBJECT

SE_INVALID_COORDSYS_DESC

SE_INVALID_PARAM_VALUE