A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/r-lidar/lidR/issues/556 below:

only point geometries are supported · Issue #556 · r-lidar/lidR · GitHub

I am trying to use normalize_intensity on a small set of las files. I am linking to the data here. Here is my r code:

# Normalize intensity of a folder of las files
library(lidR)
library(future)
plan(multisession)

# Read in the folder of las files as and LASCatalog
marked_cat <- readLAScatalog("S:\\IRAD\\LidarProcessing\\IntensityNormalizationTesting\\SaltonSeaTestData\\LAS_Copy\\LAS_SmallTiles\\marked",
                             filter = "-drop_withheld -drop_class 7 18")

las_check(marked_cat)

# Visualize the las tiles of the files being processed
plot(marked_cat)

# Estimate the positioning of the lidar sensor. Uses first and last returns with gpstime.
sensor <- track_sensor(marked_cat, Roussel2020(pmin = 50))


# Set a location to store the output files with normalized intensity values
opt_output_files(marked_cat) <- "S:\\IRAD\\LidarProcessing\\IntensityNormalizationTesting\\SaltonSeaTestData\\LAS_Copy\\LAS_SmallTiles\\marked\\norm"
  
# Normalize the intensity using the sensor positioning from above.
las_norm <- normalize_intensity(marked_cat, range_correction(sensor, Rs = 2000))

From the last line of code, I get the following error:

#> Error: Only point geometry types are supported

The files I am reading in are las files (v 1.4).

Thank you!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4