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

Function OSRGetTargetLinearUnits

ogr/ogrspatialreference.cpp:3389–3397  ·  view source on GitHub ↗

* \brief Fetch linear projection units. * * This function is the same as OGRSpatialReference::GetTargetLinearUnits() * */

Source from the content-addressed store, hash-verified

3387 *
3388 */
3389double OSRGetTargetLinearUnits(OGRSpatialReferenceH hSRS,
3390 const char *pszTargetKey, char **ppszName)
3391
3392{
3393 VALIDATE_POINTER1(hSRS, "OSRGetTargetLinearUnits", 0);
3394
3395 return ToPointer(hSRS)->GetTargetLinearUnits(
3396 pszTargetKey, const_cast<const char **>(ppszName));
3397}
3398
3399/************************************************************************/
3400/* GetPrimeMeridian() */

Callers

nothing calls this directly

Calls 2

GetTargetLinearUnitsMethod · 0.80
ToPointerFunction · 0.70

Tested by

no test coverage detected