<div dir="ltr"><div><div><div>Hi Howard,<br><br></div></div>An octree as in a 3D octree? That could be very powerful, It would still arrange the points in a chip close to each other vertically, while allowing for vertical stratification.  I think I could definitely see uses for that.<br>
<br></div>3D indexing is pretty good, I think, in the limited tests I've done with it. Makes me wonder what a 3D r-tree looks like, actually.<br><div><br>"We could add some functionality to the chipper to allow you to set which
 dimensions you want to use as the X and Y. This would allow you to flip
 the orientation of the data as it is chipped."<br><br></div><div>I understand the first sentence-- that would be brilliant. I'm not sure the meaning of second.<br><br></div><div>Best,<br>Steve<br></div><div><br>
<br><div><br><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 9:40 AM, 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"><div class=""><br>
On Jul 9, 2014, at 7:40 AM, Stephen Mather <<a href="mailto:stephen@smathermather.com">stephen@smathermather.com</a>> wrote:<br>
<br>
> Hi Howard,<br>
><br>
</div><div class="">> The other reason for the question, is I'm interested in vertical parsing of the point cloud, splitting the cloud into height classes e.g. every 10 ft, so understanding whether PDAL's chipper was already splitting on the Z-axis was something important to understand.<br>

<br>
</div>Do you want an actual octree? It might make more sense to arrange the data that way, and then store the nodes as PC_patch instances. There's nothing in PDAL or pgpointcloud to do that now, but it should be straightforward to implement.<br>

<br>
Otherwise, what I would do is create a series of different pipelines that use the filters.predicate to filter out what Z's you want for each slide. Chip that, and then load it into pgpointcloud. What is the state of PostGIS's 3D indexing these days? Will it allow you to model the chip/cube as a solid and query accordingly?<br>

<br>
We could add some functionality to the chipper to allow you to set which dimensions you want to use as the X and Y. This would allow you to flip the orientation of the data as it is chipped. I don't know exactly what this gets you, but it would be possible and easy to do.<br>

<span class="HOEnZb"><font color="#888888"><br>
Howard<br>
<br>
<br>
</font></span></blockquote></div><br></div>