<div dir="ltr">I have a .laz file with about 51m points in it  (225 MB in size), and want to run a RANSAC algorithm to detect roof planes. <div><br></div><div>I would like to add the LIDAR data to a PostGIS database so I can interact with other geospatial layers (e.g. use a mask to filter the points to consider) and also access individual points to input into the algorithm. </div><div>I have been following the information here (<a href="https://pgpointcloud.github.io/pointcloud/concepts/objects.html">https://pgpointcloud.github.io/pointcloud/concepts/objects.html</a>) about the different Point Cloud Objects. </div><div><br></div><div>My question is, if I store the data as a PcPatch, will I be able to access the individual points (e.g. select three points at random, that may or may not be in the same patch) ? </div><div><br></div><div>If not, it seems I will need to store as PcPoint. If it's the latter, I am not clear how I create a database with PcPoint objects, as the example in the Quickstart (<a href="https://pgpointcloud.github.io/pointcloud/quickstart.html">https://pgpointcloud.github.io/pointcloud/quickstart.html</a>) only creastes a PcPatch table.  </div><div><br></div><div>Thanks for any advice,</div><div>Neil</div></div>