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

Method createBoundCRS

test/unit/test_c_api.cpp:84–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 static BoundCRSNNPtr createBoundCRS() {
85 return BoundCRS::create(
86 GeographicCRS::EPSG_4807, GeographicCRS::EPSG_4326,
87 Transformation::create(
88 PropertyMap(), GeographicCRS::EPSG_4807,
89 GeographicCRS::EPSG_4326, nullptr, PropertyMap(),
90 {OperationParameter::create(
91 PropertyMap().set(IdentifiedObject::NAME_KEY, "foo"))},
92 {ParameterValue::create(
93 Measure(1.0, UnitOfMeasure::SCALE_UNITY))},
94 {}));
95 }
96
97 static ProjectedCRSNNPtr createProjectedCRS() {
98 PropertyMap propertiesCRS;

Callers

nothing calls this directly

Calls 3

PropertyMapClass · 0.85
MeasureClass · 0.85
setMethod · 0.80

Tested by

no test coverage detected