MCPcopy Create free account
hub / github.com/OSGeo/gdal / OSRGetAuthorityCode

Function OSRGetAuthorityCode

ogr/ogrspatialreference.cpp:8737–8744  ·  view source on GitHub ↗

* \brief Get the authority code for a node. * * This function is the same as OGRSpatialReference::GetAuthorityCode(). */

Source from the content-addressed store, hash-verified

8735 * This function is the same as OGRSpatialReference::GetAuthorityCode().
8736 */
8737const char *OSRGetAuthorityCode(OGRSpatialReferenceH hSRS,
8738 const char *pszTargetKey)
8739
8740{
8741 VALIDATE_POINTER1(hSRS, "OSRGetAuthorityCode", nullptr);
8742
8743 return ToPointer(hSRS)->GetAuthorityCode(pszTargetKey);
8744}
8745
8746/************************************************************************/
8747/* GetAuthorityName() */

Callers 3

TEST_FFunction · 0.85
WriteSRS_ISO32000Method · 0.85

Calls 2

GetAuthorityCodeMethod · 0.80
ToPointerFunction · 0.70

Tested by 1

TEST_FFunction · 0.68