st_coordinates | R Documentation |
Retrieve coordinates of a LAS*
object in matrix form. It creates a copy of the coordinates
because of the coercion from data.frame
to matrix
. This function inherits sf::st_coordinates
## S3 method for class 'LAS'
st_coordinates(x, z = TRUE, ...)
## S3 method for class 'LAScatalog'
st_coordinates(x, ...)
x |
A LAS* object |
z |
bool. Return XY or XYZ matrix |
... |
unused. |
matrix
LASfile <- system.file("extdata", "example.laz", package="rlas")
las <- readLAS(LASfile)
sf::st_coordinates(las)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.