<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 15, 2016 at 4:06 AM, 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></div></div></div></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></div></div></blockquote><div><br></div><div>As was mentioned, you can stream points to the writer with LAS depending on what other processing you might want to do.  When you call execute(), just pass a FixedPointTable instead of a PointTable.  Unless you are memory-limited, it's not likely to amount to a huge performance improvement, though.</div><div><br></div><div>You really need to be specific about your needs to allow us to provide you good information.  It's best to write a little code and not make to make too many assumptions about problems before you start.</div><div><br></div><div>Best,</div><div><br></div><div>--</div></div><div class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>