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

Function createProjected

test/unit/test_crs.cpp:2126–2135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2124// ---------------------------------------------------------------------------
2125
2126static ProjectedCRSNNPtr createProjected() {
2127 PropertyMap propertiesCRS;
2128 propertiesCRS.set(Identifier::CODESPACE_KEY, "EPSG")
2129 .set(Identifier::CODE_KEY, 32631)
2130 .set(IdentifiedObject::NAME_KEY, "WGS 84 / UTM zone 31N");
2131 return ProjectedCRS::create(
2132 propertiesCRS, GeographicCRS::EPSG_4326,
2133 Conversion::createUTM(PropertyMap(), 31, true),
2134 CartesianCS::createEastingNorthing(UnitOfMeasure::METRE));
2135}
2136
2137// ---------------------------------------------------------------------------
2138

Callers 4

TESTFunction · 0.85
createCompoundCRSFunction · 0.85

Calls 2

PropertyMapClass · 0.85
setMethod · 0.80

Tested by

no test coverage detected