Questions tagged [grid-metrics]

GridMetrics computes a series of descriptive statistics for a LIDAR data set. Output is a raster (grid) represented in database form with each record corresponding to a single grid cell. GridMetrics is a component of FUSION/LDV software for LIDAR Data Analysis and Visualization.

Filter by
Sorted by
Tagged with
7
votes
1answer
161 views

Spatial analysis of classified grid using QGIS

I'm calculation the positional accuracy of linear features using the buffer method and dividing the region using a rectangular grid. Here follows the vectos to be compared. The grid cells were ...
-1
votes
1answer
89 views

Grid_metrics fails to create grid_metrics.vrt

I need to obtain the metrics for a denoised normalized dataset. This is part of the code that I am using: ctg_denoised <- readLAScatalog("G:/NoBackUp/denoised/") opt_chunk_buffer(ctg_denoised) <...
1
vote
1answer
60 views

Subset a lascatalog point cloud within a function while calculating grid_metrics

I am trying to create subsets of a point cloud based on the ScanAngleRank and compute some metrics for each subset. Then return a stack of values(rasters) for the metric. I modified the rumple index ...
1
vote
1answer
80 views

Eliminating outliers from a normalized LAS file and output as another LAS file

I need to normalize, eliminate outliers and calculate metrics for a big number of .LAS data of a large area by using as much possible the package LidR. The problem comes when I try to run this part of ...
3
votes
1answer
76 views

Keeping name of metrics as band names when using grid_metrics (lidR)

When executing grid_metrics for a normalized LAScatalog the final results are GTiff files where each band corresponds to a metric. The problem is that the band names are "band 01", "band 02", "band 03"...
3
votes
2answers
169 views

Calculation of density metric of 0.75 height quantile based on Airborne LiDAR Scanning point cloud data by lidR package [closed]

This is a piece of code that I wrote: metrics<-function(z){Q75=quantile(z,probs=c(0.75)) aboveq75=sum(z>Q75) dh75=aboveq75/length(z) return(dh75)} DH75<-grid_metrics(lid,~...
2
votes
1answer
92 views

GridMetrics output does not align with base DTM?

I am trying to derive grid metrics from LiDAR (.las) file using FUSION's GridMetrics tool. My problem is that the output raster from GridMetrics does not align with the base DTM used to run the tool. ...
4
votes
1answer
533 views

Calculating standard metrics in multiple LiDAR files with lidR 2.0

I am porting my existing code to lidR version 2.0 and would like someone to let me know if I am coding efficiently. My objective is: to process a directory of LAS files normalize las files calculate ...
2
votes
1answer
146 views

How to incorporate stdmetrics in gridmetrics function?

I am attempting to feed the lidR gridmetrics function a list of metrics. I can generate the list of metrics within a function (following this example): myMetrics = function(z, i) { metrics = list( ...
1
vote
2answers
125 views

Getting statistics in cross sections at varying heights in LAS files?

I am looking to cross section my forest at varying heights. I have high return LAS data (8 points/m2 and average point spacing of 0.2m) and I am looking to do more than the simple 1, 2, 3 approach of ...
3
votes
1answer
287 views

Memory allocation error encountered when automating gridmetrics in R

I am trying to run Fusion's GridMetrics from R, I wrote this for one las file: #First set up directories to keep the raw data #separate from that produced by the analysis, Input (.las) and (.dtm), #...
7
votes
2answers
563 views

Are PDAL or PCL capable of producing LiDAR grid metrics?

I typically use Windows-based FUSION to generate grid metrics, which can be used to describe forest structural characteristics. From the FUSION documentation: GridMetrics computes a series of ...