| 322 | } |
| 323 | |
| 324 | void 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 | |
| 337 | void CopcWriter::handleMetadataVLR(MetadataNode& forward) |
| 338 | { |
nothing calls this directly
no test coverage detected