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

Method run

filters/MergeFilter.cpp:61–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61PointViewSet MergeFilter::run(PointViewPtr in)
62{
63 PointViewSet viewSet;
64
65 // If the SRS of all the point views aren't the same, print a warning
66 // unless we're explicitly overriding the SRS.
67 if (getSpatialReference().empty() &&
68 (in->spatialReference() != m_view->spatialReference()))
69 log()->get(LogLevel::Warning) << getName() << ": merging points "
70 "with inconsistent spatial references." << std::endl;
71 m_view->append(*in.get());
72 viewSet.insert(m_view);
73 return viewSet;
74}
75
76} // namespace pdal
77

Callers

nothing calls this directly

Calls 6

getNameFunction · 0.70
logFunction · 0.50
emptyMethod · 0.45
getMethod · 0.45
appendMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected