File Geodatabase API
FileGDBAPI::SpatialReferences Namespace Reference

@ SpatialReferences More...

Functions

EXT_FILEGDB_API bool FindSpatialReferenceBySRID (int auth_srid, SpatialReferenceInfo &spatialRef)
 Returns information about a spatial reference given its AUTH_SRID. More...
 
EXT_FILEGDB_API bool FindSpatialReferenceByName (const std::wstring &srname, SpatialReferenceInfo &spatialRef)
 Returns information about a spatial reference given its name. More...
 

Detailed Description

Function Documentation

EXT_FILEGDB_API bool FileGDBAPI::SpatialReferences::FindSpatialReferenceBySRID ( int  auth_srid,
SpatialReferenceInfo &  spatialRef 
)

Returns information about a spatial reference given its AUTH_SRID.

Parameters
[in]auth_sridThe AUTH_SRID of the spatial reference to find.
[out]spatialRefThe properties of the requested spatial reference.
Returns
Error code indicating whether the method finished successfully.
EXT_FILEGDB_API bool FileGDBAPI::SpatialReferences::FindSpatialReferenceByName ( const std::wstring &  srname,
SpatialReferenceInfo &  spatialRef 
)

Returns information about a spatial reference given its name.

Parameters
[in]srnameThe name of the spatial reference to find.
[out]spatialRefThe properties of the requested spatial reference.
Returns
Error code indicating whether the method finished successfully.