SE_coordref_get_id

Returns the coordinate system ID for the supplied coordinate reference object

Usage syntax

LONG SE_coordref_get_id (SE_COORDREF coordref, LONG *coordsys_id);

Parameters
coordref A pointer to the coordinate reference object
coordsys_id The predefined Projection Engine ID
Description

Returns the coordinate system for the supplied coordinate reference object. The coordinate system is identified by the predefined Projection Engine object ID. There are over 3400 predefined coordinate systems; see the pedeff.h file for a complete list. If the coordinate system is of type unknown, the returned coordsys_id is zero. If the coordinate system is not formally defined, the coordsys_id is returned as -1.

Returns

SE_SUCCESS
SE_INVALID_COORDREF_OBJECT

SE_INVALID_POINTER