Get min and max height of Point Cloud


I am going to implement elevation shading for point cloud.

To do this I need min and max height of point cloud to draw shading effect (gradient).

If anyone knows it, please teach me how to get it.


1 Like

I’m assuming you mean you need the absolute min/max, not just from what’s in view. Since this would require enumerating all points, it’s best to do this as an offline process. You could use a tool like Pdal to do this, store this information, and then use it in your CesiumJS scene when shading your 3D Tiles point cloud:

1 Like