area
From lidR v1.3.0
by Jean-Romain Roussel
Surface covered by a LAS
object or by a LAScatalog
.
The area is computed with the convex hull for LAS
objects or x,y coordinates. If
the data is not convex, the resulting area is only an approximation. The area is computed
as the sum of the extents of each file for a LAScatalog
.
Usage
area(x, y)
Arguments
- x
An object of the class
LAS
orLAScatalog
or numeric- y
If x is numeric, then provide also y.
Value
numeric. The area of the object computed in the same units as the coordinate reference system
Examples
# NOT RUN {
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
las = readLAS(LASfile)
area(las)
# }
Community examples
Looks like there are no examples yet.