MCPcopy Create free account
hub / github.com/OSGeo/PROJ / TEST

Function TEST

test/unit/test_operationfactory.cpp:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66// ---------------------------------------------------------------------------
67
68TEST(operation, geogCRS_to_geogCRS) {
69
70 auto op = CoordinateOperationFactory::create()->createOperation(
71 GeographicCRS::EPSG_4807, GeographicCRS::EPSG_4326);
72 ASSERT_TRUE(op != nullptr);
73 EXPECT_EQ(
74 op->exportToPROJString(PROJStringFormatter::create().get()),
75 "+proj=pipeline +step +proj=axisswap +order=2,1 +step "
76 "+proj=unitconvert +xy_in=grad +xy_out=rad +step +inv +proj=longlat "
77 "+ellps=clrk80ign +pm=paris +step +proj=unitconvert +xy_in=rad "
78 "+xy_out=deg +step +proj=axisswap +order=2,1");
79}
80
81// ---------------------------------------------------------------------------
82

Callers

nothing calls this directly

Calls 15

PropertyMapClass · 0.85
createFromUserInputFunction · 0.85
createGeocentricFunction · 0.85
createUTM31_WGS84Function · 0.85
proj_context_createFunction · 0.85
proj_context_destroyFunction · 0.85
createUTM32_WGS84Function · 0.85
createBoundVerticalCRSFunction · 0.85
AngleClass · 0.85
LengthClass · 0.85
ScaleClass · 0.85

Tested by

no test coverage detected