Check if raw LIDAR data are available at the shape location. The raw LIDAR data are not classified; they correspond to a cloud point.
Details
get_raw_lidar()
first download a grid containing the name of LIDAR tiles which is
then intersected with x
to determine which ones will be uploaded.
The grid is downloaded to grid_path
and lidar data to destfile
. For both
directory, function check if grid or data already exist to avoid re-downloading them.
Examples
if (FALSE) { # \dontrun{
library(sf)
# Create shape
x <- st_polygon(list(matrix(c(8.852234, 42.55466,
8.852234, 42.57289,
8.860474, 42.57289,
8.860474, 42.55466,
8.852234, 42.55466),
ncol = 2, byrow = TRUE)))
x <- st_sfc(x, crs = st_crs(4326))
# Download data to current directory
get_raw_lidar(x)
# Check all .laz file
list.files(".", pattern = ".laz", recursive = TRUE)
} # }