get_lidar {dsmSearch}R Documentation

get_lidar

Description

Search for and download LiDAR data based on coordinates of a spatial point with a given distance or a bounding box. The maximum distance is 1000m. Different dataset could be found and the function automatically downloads the latest dataset. To get more details of data on a larger scale, please use viewscape::lidar_search.

Usage

get_lidar(x, y, r, epsg, bbox, max_return = 500, folder)

Arguments

x

numeric, indicating Longtitude degree of the center point.

y

numeric, indicating latitude degree of the center point.

r

numeric, indicating search distance for LiDAR data. The maximum distance is 1000m (3281ft). If r > 1000m, it will be reset to 1000m.

epsg

numeric, the EPSG code specifying the coordinate reference system.

bbox

vector, a bounding box defining the geographical area for downloading data.

max_return

numeric, indicating the maximum of returns.

folder

string (optional), indicating a path for downloading the LiDAR data

Value

lidR LAS object.

References

Jean-Romain Roussel and David Auty (2022). Airborne LiDAR Data Manipulation and Visualization for Forestry Applications. R package version 4.0.1. https://cran.r-project.org/package=lidR

See Also

lidar_search()

Examples


las <- dsmSearch::get_lidar(x = -83.741289, y = 42.270146, r = 1000, epsg = 2253)
las <- dsmSearch::get_lidar(bbox = c(-83.742282,42.273389,-83.733442,42.278724), epsg = 2253)
terra::plot(lidR::rasterize_canopy(las, 10, lidR::dsmtin()))



[Package dsmSearch version 1.0.1 Index]