get_dsm_30 | R Documentation |
Search for and download ALOS Global Digital Surface Model (AW3D30) and USGS DEM raster datasets via OpenTopography API 1.0.0 based on coordinates of a spatial point with a given distance or bounding box. The AW3D30 raster resolution is 30 meter. The resolutions of USGS datasets are 10m and 1m.
get_dsm_30(x, y, r, epsg, bbox, global = TRUE, datatype = "AW3D30", key = "")
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. |
global |
logic, if true, AW3D30 data will be downloaded. |
datatype |
character, dataset names including "AW3D30", "USGS1m", "USGS10m". |
key |
character, API key of OpenTopography. |
To request an API key of OpenTopography, online registeration is needed.
raster
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.