<html><head></head><body><div class="ydp2b56b0c1yahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div><div dir="ltr" data-setdir="false">Using no pipeline return no PointView at all in views:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>            pdal::Options opts;</div><div>            opts.add("filename", src);</div><div><br></div><div>            pdal::StageFactory pdalFactory;</div><div>            pdal::Stage *reader = pdalFactory.createStage(driver);</div><div>            reader->setOptions(opts);</div><div><br></div><div>            pdal::PointTable table;</div><div>            reader->prepare(table);</div><div>            reader->execute(table);</div><div><br></div><div>            // partirlo en trozos</div><div>            pdal::ChipperFilter chipper; // default: 5000 puntos</div><div>            chipper.prepare(table);</div><div>            pdal::PointViewSet views = chipper.execute(table);</div><div><br></div></div><br></div><div><br></div><div class="ydp2b56b0c1signature"><div style="font-family:courier, monaco, monospace, sans-serif;font-size:13px;"><div style="font-weight:bold;">José Antonio Carmena Flores</div><div style="font-weight:bold;"><br></div></div></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_6713472000" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    En sábado, 26 de febrero de 2022 14:09:48 CET, José Antonio Carmena <jcurru@yahoo.es> escribió:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv0932536572"><div><div style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;" class="yiv0932536572ydp2045bc4cyahoo-style-wrap"><div dir="ltr"><div>Hello.</div><div><br></div><div>I don't know if this is the right place to ask this query. The thing is that I am using PDAL for the first time in the context of an application written in C++. I am trying to create a pipeline with two stages: a reader that reads a LAS and a Chipper filter that splits it into chunks. The code (summarized) is as follows:</div><div><br></div></div><div dir="ltr"><div><div dir="ltr">        pdal::PipelineManager pipeline.</div><div><br></div><div>        pipeline.makeReader(<br></div><div>            src, // const std::string& inputFile,</div><div>            std::string());</div><div><br></div><div>        pipeline->makeFilter("filters.chipper");</div><div><br></div><div>        pipeline->execute();<br></div><div><br></div></div><span>As I understand it, after execute() pipeline-views() should return a set of PointViews, each of which should have about 5000 points. Unfortunately, pipeline-views().size() returns one, a single PointView with about 400,000 points. What am I doing wrong?</span><br></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>Thanks in advance!</span></div><div><br></div><div class="yiv0932536572ydp2045bc4csignature"><div style="font-family:courier, monaco, monospace, sans-serif;font-size:13px;"><div style="font-weight:bold;">José Antonio Carmena Flores</div><div style="font-weight:bold;"><br><br></div></div></div></div></div></div></div>
            </div>
        </div></body></html>