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

Method handleMetadataVLR

io/CopcWriter.cpp:337–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337void CopcWriter::handleMetadataVLR(MetadataNode& forward)
338{
339 std::string json = Utils::toJSON(forward);
340 std::vector<char> data(json.begin(), json.end());
341 las::Evlr v(las::PdalUserId, las::PdalMetadataRecordId, "PDAL metadata", std::move(data));
342 b->vlrs.push_back(v);
343}
344
345
346void CopcWriter::handleUserVlrs(MetadataNode m)

Callers

nothing calls this directly

Calls 3

toJSONFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected