get_dsm_30 {dsmSearch} | R Documentation |
get_dsm_30
Description
Search for and download ALOS Global Digital Surface Model (AW3D30) via OpenTopography API 1.0.0 based on coordinates of a spatial point with a given distance or bounding box. The raster resolution is 30 meter.
Usage
get_dsm_30(x, y, r, epsg, bbox, key = "")
Arguments
x |
numeric, indicating Longtitude degree of the center point. |
y |
numeric, indicating latitude degree of the center point. |
r |
numeric, indicating search distance (meter or feet) for LiDAR data. |
epsg |
numeric, the EPSG code specifying the coordinate reference system. |
bbox |
vector, a bounding box defining the geographical area for downloading data. |
key |
character, API key of OpenTopography. |
Details
To request an API key of OpenTopography, online registeration is needed.
Value
raster
Examples
## Not run:
data <- dsmSearch::get_dsm_30(bbox = c(-83.783557,42.241833,-83.696525,42.310420),
key = "API key")
data <- dsmSearch::get_dsm_30(x = -83.741289,
y = 42.270146,
r = 1000,
epsg = 2253,
key = "API key")
## End(Not run)
[Package dsmSearch version 1.0.1 Index]