Grid over lidar point cloud using LiDR

191 views Asked by At

I there a way to put a grid over point cloud data using the LiDR package in R.

I want to place a 30x30m grid over a lidar data that I have and then run some statistics on each 10x10 square within the grid. Does anyone know if this is possible and what function I would use?

1

There are 1 answers

0
JRR On

You can use grid_metrics() with a RasterLayer as layout. From the manual:

res numeric. The resolution of the output Raster. Can optionally be a RasterLayer. In that case the RasterLayer is used as the layout.