I am using NOAA LiDAR data to experiment with methods in lidR. I want to use the linear segment_shapes()
function to locate powerlines, but some of powerlines are already classified as noise. Using lidR
(preferably) or unlicensed LAStools
&/or QGIS
how do I reset the classification of these points.
I have used the classify_noise()
function in both the las and catalog format. I can't find a simply way to view classifications.
Otherwise is it possible to tell the function from ch 13 in the lidR textbook to consider all points despite already being classified?
lasfile <- readLAS(here("ch13/central_blvd_palmbeach/91_10/9110/Job648155_26080_91_10.las"))
las_denoise <- classify_noise(lasfile, ivf(5,2))
seg_las <- segment_shapes(las_denoise, shp_line(th = 8, k = 15), "linear")
plot(seg_las, color = "Classification")
writeLAS(seg_las, here("ch13/central_blvd_palmbeach/91_10/9110/seg_las.las"))
I am also having trouble updating the classification based on segment_shapes()
algorithm results.