Learn R Programming

lidR (version 1.6.1)

as.spatial: Transform a lidR object into sp object

Description

LAS, LAScatalog, lasmetrics are transformed respectively into SpatialPointsDataFrame, SpatialPolygonsDataFrame, SpatialPixelsDataFrame

Usage

as.spatial(x)

Arguments

x

an object from the lidR package

Value

An object from sp

See Also

Other cast: as.lasmetrics, as.raster.lasmetrics