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

Method handlePipelineVlr

io/CopcWriter.cpp:324–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void CopcWriter::handlePipelineVlr()
325{
326 // Write a VLR with the PDAL pipeline.
327 std::ostringstream ostr;
328 PipelineWriter::writePipeline(this, ostr);
329
330 const std::string& json = ostr.str();
331 std::vector<char> data(json.begin(), json.end());
332
333 las::Evlr v(las::PdalUserId, las::PdalPipelineRecordId, "PDAL pipeline", std::move(data));
334 b->vlrs.push_back(v);
335}
336
337void CopcWriter::handleMetadataVLR(MetadataNode& forward)
338{

Callers

nothing calls this directly

Calls 4

writePipelineFunction · 0.85
strMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected