Question

Slope of Point Cloud

  • 5 September 2014
  • 2 replies
  • 23 views

Badge +1
I have a lidar point cloud clipped by building footprints and grouped by the building id. I would like to calculate slope for the points in each building, which I assume would be: 

 

 

(elevation of point_with_maximum_elevation minus elevation of point_with_minimum_elevation) divided by (length between point_with_maximum_elevation and point_with minimum_elevation).

 

 

I have used the PointCloudStatisticsCalculator to get the min and max, but it does not tell me where these points these are so I can't determine the length between the points. Is there another way to do this?

 

 

Thanks

 

 

 


2 replies

Userlevel 3
Badge +13
Hi,

 

I would sort them the old fashion way (probably as a list) to detect the point s of interest.

 

This way the locatiion is known and you can calculate the distance / length.

 

Hope this helps,

 

Itay
Badge
The other option would be to convert the data to either points or a raster (try the PointCloudCoercer). If you're dealing with just small pieces of point cloud where the building footprint is, then performance should be OK.

 

 

Then you should be able to get the X/Y values, or use the RasterSlopeCalculator transformer.

 

 

Hope this helps

 

 

Mark

Reply