Questions tagged [lidr]

R package for Airborne LiDAR Data Manipulation and Visualization in Forestry Applications

Airborne LiDAR (Light Detection and Ranging) interface in R for data manipulation and visualization. Read/write 'las' and 'laz' files, computation of metrics in area based approach, point filtering, artificial point reduction, classification from geographic data, normalization, individual tree segmentation and other manipulations.

41 questions
0
votes
1 answer

How to bring las/laz-file to user defined point density [points per squaremeter] using lidR?

I have a las/laz-file with a point density of 72.91 points/m² which I want to bring to point density of 4 points/m² using lidR::voxelize() from package {lidR}. However, I do not know how to achieve that with the given argument . What I have…
ExploreR
  • 313
  • 4
  • 15
0
votes
1 answer

How to solve Error at lidR::delineate_crowns?

Processing a script I wrote a couple of month ago with an older version old lidR causes an error with current version. name of functions changed from lidR::tree_hulls to lidR::delineate_crowns It worked with the old version but doesn't with the new…
ilex
  • 103
  • 7
0
votes
0 answers

R crashed when plotting Lidar points with lidR

I had to re-downloaded the latest R and Rstudio with all previous packages deleted... Now I cannot plot 3D Lidar points with the lidR package, but plotting other graphs is fine. I wonder if it is because some dependent packages are missing? It…
0
votes
1 answer

TIN DSM Algorithm used in LidR package R

I have a question regarding to the TIN method used in LidR. My point cloud data is look like this figure. When I compute DSM using TIN method, the height value is not at the highest peak of first return. Does the value used in triangulation is an…
0
votes
1 answer

Plot a 2D Canopy Height Model (CHM) line

I'm looking for some help creating a "Canopy Height Model (CHM)-Zmax-curve/line" on my las-plots. I extracted a transect with the lidR package las_tr <- clip_transect(las, p1, p2, width = 3, xz=T) And I plotted it with ggplot ggplot(las_tr@data,…
0
votes
1 answer

Grid over lidar point cloud using LiDR

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…
Selena Chavez
  • 139
  • 2
  • 10
0
votes
1 answer

Transform CRS LiDAR point clouds in lidR

Is there a way to change the projection (like st_transform from sf package) of LiDAR point cloud while remaining in R? With lidR package you can set but not modify the point cloud projection. I know las2las from lastools could do the job (and this…
Adrien
  • 157
  • 8
0
votes
0 answers

lidR readLAS function crashes R when reading some las files

I have previously been using the lidR package and it was working great (highly recommend). However today I simply tried to open an airborne las file and the R sessions crashed. Here is the code, it ain't complicated. library(lidR) las =…
0
votes
1 answer

How to configure lidR catalog to save files with file name

I'm trying to learn how to use the options of catalog() within the lidR package in R. I'd like to save directly the processed files, for example, using grid_terrain() function over a catalog and save files keeping the filename of the original…
0
votes
1 answer

Function readLAS not found

In spite of having the packages "rLiDAR" and "lidR" already installed in my computer, and having R Studio updated, when I use the function readLAS(), it doesn´t work. What could be the problem? My line of code:…
Ric_02
  • 1
  • 1
-1
votes
1 answer

Is there a way to plot the ''true'' coordinates on the x and y axis using lidR package

I want to plot a pointcloud in R using the lidR package. When I plot a pointcloud it automatically uses x and y axis values where the coordinates have been normalized starting from 0, I want to see the actual coordinates from the attribute of the…
N_LLC
  • 109
  • 2
1 2
3