r-lidar / lidR

Airborne LiDAR data manipulation and visualisation for forestry application
https://CRAN.R-project.org/package=lidR
GNU General Public License v3.0
601 stars 131 forks source link

plot(ctg, chunk = TRUE) fails with invalid templates #537

Closed Jean-Romain closed 2 years ago

Jean-Romain commented 2 years ago
library(lidR)

LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
ctg = readLAScatalog(LASfile)

opt_output_files(ctg) <- "{tempfile()}_{shotnumber}"
plot(ctg, chunk = T)
#> Erreur dans eval(parse(text = text, keep.source = FALSE), envir) : 
#> objet 'shotnumber' introuvable