<div dir="ltr">When using PDAL as part of a C++ codebase to read a large LAS/LAZ file from which we are only interested in the XYZ position of each point, import with PDAL is very slow. It looks like all of the other attributes in the PDAL file are being parsed. Additionally that parsing is very slow due to many type conversions, although the documentation is clear that PDAL is more concerned with genericity than efficiency. <div><br></div><div>Is there any example in C++ of how to say "Only read the XYZ data from this file" to make things quicker? </div><div><br></div><div>I assume that it is possible to do something (prepare the table differently) prior to calling execute() (which is where the time is spent.) However, there don't seem to be any code examples of doing this. </div><div><br></div><div>las_reader.setOptions(las_opts);<br>las_reader.prepare(table);<br>pdal::PointViewSet point_view_set = las_reader.execute(table);<br></div><div><br></div><div><div>(Actually, I haven't found any C++ examples at all other than <a href="https://pdal.io/api/transition/index.html" target="_blank">https://pdal.io/api/transition/index.html</a>). </div></div></div>