<div dir="ltr">Hi Howard,<div>Thanks for your answer.</div><div><br></div><div>I was thinking more along the lines of what the command line tool does: just set on option "stream" to the pipeline.</div><div>Is this choosing a default chunk (buffer) size?</div><div><br></div><div>For instance the following pipeline takes several point cloud "bricks"</div><div>and generates the dsm for the whole surface covered.</div><div><br></div><div><br></div><div><div>{</div><div>  "pipeline": [</div><div>    "a.bpf",</div><div>    "b.bpf",</div><div>    {</div><div>      "resolution": 0.25,</div><div>      "filename":"test.tif",</div><div>      "output_type": "max",</div><div>      "window_size": "20",</div><div>      "bounds": "([740698.8745, 741144.3546], [4404897.242, 4405465.48])"</div><div>    }</div><div>  ]</div><div>}</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 2:43 PM, Howard Butler <span dir="ltr"><<a href="mailto:howard@hobu.co" target="_blank">howard@hobu.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 1/31/18 1:37 PM, Dan Lipsa wrote:<br>
> Hi all,<br>
> I can enable streaming in a pipeline using<br>
><br>
> ./pdal pipeline --stream dsm.json<br>
><br>
> Can I do the same thing in python?<br>
> What is the option that I need to set?<br>
><br>
> pipeline = pdal.Pipeline(json)<br>
> pipeline.validate()  # check if our JSON and options were good<br>
> count = pipeline.execute()<br>
><br>
<br>
</span>Dan,<br>
<br>
No, that bit of Python API isn't done yet. There's a bit of a question<br>
of what we should do there too? Presumably the API would have the user<br>
set a chunk size and then return an iterator. The API to follow would be<br>
the PipelineKernel.cpp implementation, but apply it to the Python/Cython<br>
extension stuff.<br>
<br>
I'd be happy to merge a patch that did this.<br>
<span class="HOEnZb"><font color="#888888"><br>
Howard<br>
<br>
</font></span><br>______________________________<wbr>_________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/pdal</a><br></blockquote></div><br></div>