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

Method processOne

plugins/arrow/io/ArrowWriter.cpp:293–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291
292
293bool ArrowWriter::processOne(PointRef& point)
294{
295 for (auto& handler : m_dimHandlers)
296 {
297 auto ok = handler->append(point);
298 if (!ok)
299 throwError("Unable to append point data to arrow array: " + ok.what() + ".");
300 }
301
302 if (++m_batchIndex == (point_count_t)m_batchSize)
303 flushBatch();
304 return true;
305}
306
307NL::json getPROJJSON(const pdal::SpatialReference& ref)
308{

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected