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

Method createProjectedCRS

test/unit/test_c_api.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 static ProjectedCRSNNPtr createProjectedCRS() {
98 PropertyMap propertiesCRS;
99 propertiesCRS.set(Identifier::CODESPACE_KEY, "EPSG")
100 .set(Identifier::CODE_KEY, 32631)
101 .set(IdentifiedObject::NAME_KEY, "WGS 84 / UTM zone 31N");
102 return ProjectedCRS::create(
103 propertiesCRS, GeographicCRS::EPSG_4326,
104 Conversion::createUTM(PropertyMap(), 31, true),
105 CartesianCS::createEastingNorthing(UnitOfMeasure::METRE));
106 }
107
108 static DerivedProjectedCRSNNPtr createDerivedProjectedCRS() {
109 auto derivingConversion = Conversion::create(

Callers 5

TESTFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

PropertyMapClass · 0.85
setMethod · 0.80

Tested by

no test coverage detected