[pdal] Chunking/streaming support

Andrew Bell andrew.bell.ia at gmail.com
Mon Jun 13 14:46:01 PDT 2016


On Tue, Jun 7, 2016 at 5:41 PM, Jason Overland <joverland at lizardtech.com>
wrote:

> Hi Andrew,
> A quick follow up on this.  For now I made 3 methods on BpfReader public -
> ready, processOne, and done.  This allowed me to read a point at a time by
> calling processOne multiple times.  I also tried using read() to read a
> chunk at a time instead of processOne() but that ended up being a little
> bit slower (I thought it would be faster due to less seeks) and involved a
> little more trickery with setting up the PointTable.  Of course I'd prefer
> not willy nilly making private methods public as a long term strategy, but
> as a quick and dirty solution it seems to get things working for us.
>

Your solution seems reasonable for now.  Maybe we'll get a chance to
formalize such an interface at some point in the not-too-distant future.

Thanks for your thoughts,

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20160613/99fd43dd/attachment.html>


More information about the pdal mailing list