<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="https://pdal.io/workshop/exercises/batch_processing/batch-processing.html" class="">https://pdal.io/workshop/exercises/batch_processing/batch-processing.html</a> demonstrates some windows-based batch processing.<div class=""><br class=""></div><div class="">I would suggest using the 'pdal' command line utility along with filters.sort <a href="https://pdal.io/stages/filters.sort.html" class="">https://pdal.io/stages/filters.sort.html</a> for operations and then using subprocess or python coroutines if you want to get fancy to drive it. If you don't need to access the points from numpy or geopandas directly, there is no reason to take on the burden of being in Python land for the point cloud operations.</div><div class=""><br class=""></div><div class="">Howard</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 31, 2019, at 11:53 AM, Joseph S Faraguna <<a href="mailto:faraguna@mit.edu" class="">faraguna@mit.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Miguel,<div class=""><br class=""></div><div class="">You can embed a pdal pipeline in a Python program and execute the pipeline on a directory of files.</div><div class=""><br class=""></div><div class="">The code below will sort each las file in the directory in which the Python program is placed by its X dimension, overwrite the files with the sorted output, and also print out a pandas DataFrame of each sorted output.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Joe</div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 11:52 AM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com" class="">andrew.bell.ia@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><br class=""><div class="">This question is very general.  Perhaps you should write a program to the point where you have a specific problem where someone might help you.<br class="gmail-m_4007869387944515505gmail-Apple-interchange-newline"></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 31, 2019 at 1:58 AM Miguel Guerrero <<a href="mailto:g.miguel.guerrero.m@gmail.com" target="_blank" class="">g.miguel.guerrero.m@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US" class=""><div class="gmail-m_4007869387944515505gmail-m_-8348499914514299872WordSection1"><p class="MsoNormal">Hello,</p><p class="MsoNormal">I hope you are doing well.</p><p class="MsoNormal">It has been hard for me to find a good example that shows me how to run a PDAL filter in batch mode (looping) using Python.</p><p class="MsoNormal">I have a set of LAS files in a directory and I want to be able to sort the points for each file by GPS time using a looping method in Python 2.7</p><p class="MsoNormal">Could anyone in the list help please?</p><p class="MsoNormal"><u class=""></u> <u class=""></u></p><p class="MsoNormal">Thanks in advance for your response.</p><p class="MsoNormal"><u class=""></u> <u class=""></u></p><p class="MsoNormal">Regards,</p><p class="MsoNormal"><u class=""></u> <u class=""></u></p><p class="MsoNormal">Miguel</p><p class="MsoNormal"><u class=""></u> <u class=""></u></p><p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986" target="_blank" class="">Mail</a> for Windows 10</p><p class="MsoNormal"><u class=""></u> <u class=""></u></p></div></div>_______________________________________________<br class="">
pdal mailing list<br class="">
<a href="mailto:pdal@lists.osgeo.org" target="_blank" class="">pdal@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail-m_4007869387944515505gmail_signature">Andrew Bell<br class=""><a href="mailto:andrew.bell.ia@gmail.com" target="_blank" class="">andrew.bell.ia@gmail.com</a></div>
_______________________________________________<br class="">
pdal mailing list<br class="">
<a href="mailto:pdal@lists.osgeo.org" target="_blank" class="">pdal@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><p style="color:rgb(33,33,33);font-family:sans-serif;font-size:13px" class=""><span style="font-size: 7.5pt; font-family: Helvetica, sans-serif;" class="">Department of Biological Engineering | Class of 2020</span><span style="font-family: Tahoma, sans-serif;" class=""><u class=""></u><u class=""></u></span></p><p style="color:rgb(33,33,33);font-family:sans-serif;font-size:13px" class=""><span style="font-size: 7.5pt; font-family: Helvetica, sans-serif;" class="">Massachusetts Institute of Technology</span><span style="font-family: Tahoma, sans-serif;" class=""><u class=""></u><u class=""></u></span></p><p style="color:rgb(33,33,33);font-family:sans-serif;font-size:13px" class=""><span style="font-size:7.5pt;font-family:Helvetica,sans-serif" class=""><span style="color:rgb(5,99,193)" class=""><a href="mailto:faraguna@mit.edu" target="_blank" class="">faraguna@mit.edu</a></span><span style="" class="">| <a href="tel:(281)%20902-6908" target="_blank" class="">(281) 902-6908</a></span></span></p></div></div>
<span id="cid:f_jyrhnxrv0"><filter.py></span>_______________________________________________<br class="">pdal mailing list<br class=""><a href="mailto:pdal@lists.osgeo.org" class="">pdal@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/pdal</div></blockquote></div><br class=""></div></body></html>