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

Function createDerivedGeodeticCRS

test/unit/test_crs.cpp:6146–6158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6144// ---------------------------------------------------------------------------
6145
6146static DerivedGeodeticCRSNNPtr createDerivedGeodeticCRS() {
6147
6148 auto derivingConversion = Conversion::create(
6149 PropertyMap().set(IdentifiedObject::NAME_KEY, "Some conversion"),
6150 PropertyMap().set(IdentifiedObject::NAME_KEY, "Some method"),
6151 std::vector<OperationParameterNNPtr>{},
6152 std::vector<ParameterValueNNPtr>{});
6153
6154 return DerivedGeodeticCRS::create(
6155 PropertyMap().set(IdentifiedObject::NAME_KEY, "Derived geodetic CRS"),
6156 GeographicCRS::EPSG_4326, derivingConversion,
6157 CartesianCS::createGeocentric(UnitOfMeasure::METRE));
6158}
6159
6160// ---------------------------------------------------------------------------
6161

Callers 1

TESTFunction · 0.85

Calls 3

PropertyMapClass · 0.85
createGeocentricFunction · 0.85
setMethod · 0.80

Tested by

no test coverage detected