st_transform {lidR} | R Documentation |
Transform or convert coordinates of LAS objects
Description
Transform or convert coordinates of LAS objects st_transform()
extends sf::st_transform()
Usage
## S3 method for class 'LAS'
st_transform(x, crs, ...)
Arguments
x |
An object of class LAS |
crs |
crs object from sf or CRS object from sp |
... |
additional arguments |
Value
A LAS object
Examples
LASfile <- system.file("extdata", "example.laz", package="rlas")
las = readLAS(LASfile)
st_crs(las)$Name
st_bbox(las)
tlas <- sf::st_transform(las, sf::st_crs(26918))
st_crs(tlas)$Name
st_bbox(tlas)
[Package lidR version 4.1.2 Index]