View source: R/clip_lidR_ctgs.R
find_ctg_centroids | R Documentation |
LAScatalog
This function does the same as las_find_centroids
but it works on a
LAScatalog
and returns an sf
object of point lcoations of scan centroids.
Result of this function can be used as an input to stitch_TLS_dir_to_LAS
and
stitch_TLS_dir_to_LAS_tile
to increase speed.
find_ctg_centroids(ctg, n_cores = 1, subsample = 10000)
ctg |
a |
n_cores |
a number of cores to use for parallel processing. |
subsample |
drop every |
library(sf)
ctg = lidR::readLAScatalog('path/to/las/catalog')
scan_locations = find_ctg_centroids(ctg, n_cores=4)
plot(scan_locations$geom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.