MCPcopy Create free account
hub / github.com/PDAL/PDAL / identifyVerticalEPSG

Method identifyVerticalEPSG

pdal/SpatialReference.cpp:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140
141std::string SpatialReference::identifyVerticalEPSG() const
142{
143 OGRScopedSpatialReference srs(ogrCreateSrs(getVertical(), m_epoch));
144
145 if (const char* c = srs->GetAuthorityCode(nullptr))
146 return std::string(c);
147
148 return "";
149}
150
151
152std::string SpatialReference::getWKT() const

Callers 1

TESTFunction · 0.80

Calls 1

ogrCreateSrsFunction · 0.85

Tested by 1

TESTFunction · 0.64