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

Method getHorizontal

pdal/SpatialReference.cpp:315–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313
314
315std::string SpatialReference::getHorizontal() const
316{
317 if (m_horizontalWkt.empty())
318 {
319 OGRScopedSpatialReference poSRS = ogrCreateSrs(m_wkt, m_epoch);
320
321 if (poSRS)
322 {
323 poSRS->StripVertical();
324 m_horizontalWkt = exportToWkt(poSRS.get());
325 }
326 }
327 return m_horizontalWkt;
328}
329
330
331std::string SpatialReference::getHorizontalUnits() const

Callers 2

TESTFunction · 0.80
setMatlabStructMethod · 0.80

Calls 4

ogrCreateSrsFunction · 0.85
exportToWktFunction · 0.85
emptyMethod · 0.45
getMethod · 0.45

Tested by 1

TESTFunction · 0.64