<div>                <br>Great Martin. This is an amazing fusion between two amazing platforms. QGIS Drawing points from an User defined PDAL pipeline. Wow!<br>            </div>            <div class="yahoo_quoted" style="margin:10px 0px 0px 0.8ex;border-left:1px solid #ccc;padding-left:1ex;">                        <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">                                <div>                    En martes, 7 de julio de 2020 15:34:01 CEST, Martin Dobias <wonder.sk@gmail.com> escribió:                </div>                <div><br></div>                <div><br></div>                <div><div dir="ltr">Hi Alvaro<br clear="none"><br clear="none">On Tue, Jul 7, 2020 at 10:56 AM <<a shape="rect" ymailto="mailto:ahuarte47@yahoo.es" href="mailto:ahuarte47@yahoo.es">ahuarte47@yahoo.es</a>> wrote:<br clear="none">><br clear="none">> Are you thinking about implementing a new QgsVectorDataProvider where the new QgsFeatureIterator yields the point cloud as QgsFeature instances?<br clear="none">><br clear="none">> If you allow me an idea, the QgsVectorDataProvider, or even the QgsFeatureIterator, could create on-the-fly a PDAL PipelineManager instance with the necessary PDAL readers, and initially some PDAL filters to consider the input parameter of current QgsFeatureRequest. Then the iterator could fetch the points implementing a new PDAL writer[1] as final stage of the pipeline.<br clear="none">><br clear="none">> All field info structure of the point could be read from the writer or from the last filter[2] (method: virtual void addDimensions(PointLayoutPtr layout);) of the Pipeline.<br clear="none"><br clear="none">Thanks for your thoughts. The plans so far were to create a completely<br clear="none">new layer type, so it would not be "just" a new data provider for<br clear="none">vector layers, it would be rather a new "point cloud layer". There are<br clear="none">some similarities with ordinary point vector layers, but I think the<br clear="none">sheer amount of points needs a different approach - the existing QGIS<br clear="none">vector layer API is not really built to deal with many<br clear="none">millions/billions of points efficiently.<br clear="none"><br clear="none">But talking about pipelines, it's a good idea, also suggested by<br clear="none">Howard, that rather than supporting only plain input files, QGIS could<br clear="none">use pipelines to allow some extra functionality similar to GDAL's<br clear="none">virtual rasters.<br clear="none"><br clear="none">Regards<div class="yqt8307208114" id="yqtfd05944"><br clear="none">Martin</div></div></div>            </div>                </div>