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

Function OSRConvertToOtherProjection

ogr/ogrspatialreference.cpp:10226–10234  ·  view source on GitHub ↗

* \brief Convert to another equivalent projection * * Currently implemented: * * SRS_PT_MERCATOR_1SP to SRS_PT_MERCATOR_2SP * SRS_PT_MERCATOR_2SP to SRS_PT_MERCATOR_1SP * SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP to * SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP * SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP to * SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP * * * @param hSRS

Source from the content-addressed store, hash-verified

10224 *
10225 */
10226OGRSpatialReferenceH
10227OSRConvertToOtherProjection(OGRSpatialReferenceH hSRS,
10228 const char *pszTargetProjection,
10229 const char *const *papszOptions)
10230{
10231 VALIDATE_POINTER1(hSRS, "OSRConvertToOtherProjection", nullptr);
10232 return ToHandle(ToPointer(hSRS)->convertToOtherProjection(
10233 pszTargetProjection, papszOptions));
10234}
10235
10236/************************************************************************/
10237/* OSRFindMatches() */

Callers

nothing calls this directly

Calls 3

ToHandleFunction · 0.70
ToPointerFunction · 0.70

Tested by

no test coverage detected