<div dir="ltr"><div>I need to read metadata from a successfully run PipelineExecutor instance.  I think I am doing this correctly, but I haven't been able to find any example code which does what I need to do.<br><br></div><div>Can someone advise me on this?<br><br></div><div>Here is my code.  The line I believe is not behaving the way I expect is 665, which I confirm by printing its validty at line 670, which prints 0, which means Not Valid.<br></div><div><br><span style="font-family:monospace,monospace">649    std::string pipeline_<br>650            pipelineJson::basicVectorMapReaderWriter(infile,outmap);<br><br></span></div><span style="font-family:monospace,monospace">            // I can confirm the executor is valid and runs correctly<br></span><div><div><span style="font-family:monospace,monospace">653    auto plExecutor = new pdal::PipelineExecutor(pipeline_json);<br><br>660    uint64_t pointCount = plExecutor->execute();<br><br>663    pdal::MetadataNode root = plExecutor->getMetadata();<br>664    //auto root = plExecutor->getMetadata();<br>665    auto srsNode = root.findChild("srs");<br>666    <br>667    <br>668    auto val = srsNode.valid();<br>669    <br>670    cout << val << endl;<br>671    cout << "test" << endl;<br></span><br></div><div>Another note which may be helpful: when I change 668 to be<br></div><div><span style="font-family:monospace,monospace">668    auto val = root.valid();</span><br><br></div><div>the validity prints 1, which indicates that it is valid.<br><br></div><div>- Paul<br><br></div></div></div>