lidR (version 2.2.5)

lascheck: Inspect a LAS object

Description

Performs a deep inspection of a LAS or LAScatalog object and prints a report. For a LAS object it checks:

  • if the point cloud is valid according to las specification

  • if the header is valid according to las specification

  • if the point cloud is in accordance with the header

  • if the point cloud has duplicated points and degenerated ground points

  • it the coordinate reference sytem is correctly recorded

  • if some pre-processing, such as normalization or ground filtering, is already done.

For a LAScatalog object it checks:

  • if the headers are consistent across files

  • if the files are overlapping

  • if some pre-processing, such as normalization, is already done.

For the pre-processing tests the function only makes an estimation and may not be correct.

Usage

lascheck(las)

Arguments

las

An object of class LAS or LAScatalog.

Examples

Run this code
# NOT RUN {
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
las = readLAS(LASfile)
lascheck(las)
# }

Run the code above in your browser using DataCamp Workspace