viewshed | R Documentation |
Computes a binary viewshed of a point on a Digital Surface Model (DSM). The observer height is based on the heigth of a Digital Terrain Model (DTM).
viewshed(
observer,
dsm_rast,
dtm_rast,
max_distance = 800,
observer_height = 1.7,
raster_res = NULL,
plot = FALSE
)
observer |
object of class |
dsm_rast |
object of class |
dtm_rast |
object of class |
max_distance |
numeric; Buffer distance to calculate the viewshed |
observer_height |
numeric > 0; Height of the observer (e.g. 1.7 meters) |
raster_res |
optional; NULL or numeric > 0; Resolution that the viewshed raster should be aggregated to. Must be a multible of the dsm_rast resolution |
plot |
optional; Plot the intersect of the buffer around the observer location and the DSM (left DSM; right visibility raster) |
object of class rast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.