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

Function createGeocentricKM

test/unit/test_operation.cpp:598–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596// ---------------------------------------------------------------------------
597
598static GeodeticCRSNNPtr createGeocentricKM() {
599 PropertyMap propertiesCRS;
600 propertiesCRS.set(IdentifiedObject::NAME_KEY, "Based on WGS 84");
601 return GeodeticCRS::create(
602 propertiesCRS, GeodeticReferenceFrame::EPSG_6326,
603 CartesianCS::createGeocentric(
604 UnitOfMeasure("kilometre", 1000.0, UnitOfMeasure::Type::LINEAR)));
605}
606
607// ---------------------------------------------------------------------------
608

Callers 1

TESTFunction · 0.70

Calls 3

createGeocentricFunction · 0.85
setMethod · 0.80
UnitOfMeasureClass · 0.50

Tested by

no test coverage detected