<div dir="ltr"><div><div>Hi all,<br><br></div>I'm porting GRASS GIS's r.in.lidar module [1] (which is using libLAS) to PDAL and I think I can write a migration guide. Do you think it should go to the docs? If yes, where? You can view the current state in my fork [2]. Unfortunately, it is transitioning from libLAS's C API to PDAL C++ API since r.in.lidar is using the C API.<br><br>I have several questions/TODOs in file [2] (feel free to review them). However, now I would like to ask about iterating over the points in the dataset. I do it in the way that I call execute on the reader and then I iterate over points in PointView. It seems to me that I'm going over the dataset two times, one reading and then my writing instead of just reading and writing at the same time as in case of libLAS API. It also seems that all points are loaded in the memory, should I then check some limitations or add some error handling?<br><br></div><div>Thanks,<br></div><div>Valcav<br></div><div><br></div><div>PS: I'm also working on extending FAQs on that topic [3].</div><div><div><div><br>[1] <a href="https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.in.lidar/main.c">https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.in.lidar/main.c</a><br>[2] <a href="https://github.com/wenzeslaus/PDAL/blob/liblas-to-pdal-transition/doc/tutorial/liblas_to_pdal.rst">https://github.com/wenzeslaus/PDAL/blob/liblas-to-pdal-transition/doc/tutorial/liblas_to_pdal.rst</a><br>[3] <a href="https://github.com/wenzeslaus/PDAL/blob/liblas-to-pdal-transition/doc/faq.rst">https://github.com/wenzeslaus/PDAL/blob/liblas-to-pdal-transition/doc/faq.rst</a><br></div></div></div></div>