<div dir="ltr"><div>Just to clarify my previous email, I mean using PDAL using its C++ API (not from the command line).<br><br></div>César<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 April 2016 at 11:06, César Martínez Izquierdo <span dir="ltr"><<a href="mailto:cesar.izq@gmail.com" target="_blank">cesar.izq@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Dear list,<br><br></div>I'm evaluating using PDAL to read and write LAS files. My use case is focused on the following requirements:<br></div>- accessing to individual points on the LAS files (sometimes sequentially and sometimes to specific records using record number)<br></div>- learning about LAS file properties (coordinate reference system of the data, number of records, existing fields [which depends on the record point type in use], etc)<br></div>- creating new LAS files and writing individual points to them<br>- appending individual points to existing LAS files, maybe also editing or deleting existing points<br><br></div><div>Is PDAL able to satisfy these use cases? I have read the online documentation, but it seems to be really focused on translating from one format to another one, and there is little information about how to actually accessing the points.<br><br></div><div>The "Writing with PDAL" tutorial [<a href="http://www.pdal.io/tutorial/writing.html" target="_blank">http://www.pdal.io/tutorial/writing.html</a>] gives me some light on the writing part, but I still don't see if it really matches our use case. If I correctly understand the tutorial, you have to first create a PointTable and a PointView, which I guess are created on-memory.<br><br>Is there a way to "stream" the points to the writer? Otherwise I believe this approach is not feasible for writing big LAS files. Would be possible to create the writer on "append" mode and to feed it with several PointViews on a loop for instance?. Will this approach perform well or is there a better way to do it?<br><br></div><div></div><div>Thanks in advance,<br><br></div><div>César Martínez Izquierdo<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><div><div><div><div><div><div><br><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br> César Martínez Izquierdo<br> GIS developer<br> - - - - - - - - - - - - - - - - - - - -<br></div><div> SCOLAB: <a href="http://www.scolab.es" target="_blank">http://www.scolab.es</a><br></div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div></div></div></div>
</div></div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br> César Martínez Izquierdo<br> GIS developer<br> - - - - - - - - - - - - - - - - - - - -<br></div><div> SCOLAB: <a href="http://www.scolab.es" target="_blank">http://www.scolab.es</a><br></div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div></div></div></div>
</div>