SE_spatialrefinfo_get_auth_srid

Returns the authority ID from the supplied spatial reference object.

Usage syntax

LONG SE_spatialrefinfo_get_auth_srid (const SE_SPATIALREFINFO spatialref, LONG *auth_srid);

Parameters
spatialref A pointer to the spatial reference
auth_srid A pointer to the authority ID
Description

Returns the authority ID for a spatial reference object. The authority ID property is the ID value of the standards authority for which the spatial reference is valid. The authority ID is defined for informational purposes only.

Returns

SE_SUCCESS
SE_FAILURE

SE_INVALID_POINTER

SE_INVALID_SPATIALREFINFO_OBJECT