View source: R/visibility_proportion.R
visibility_proportion | R Documentation |
Function that calculates the proportion of visible area within a viewshed
visibility_proportion(
observer,
max_distance = 800,
dsm_rast,
dtm_rast,
observer_height = 1.7,
raster_res = NULL,
plot = FALSE
)
observer |
object of class |
max_distance |
numeric; Buffer distance to calculate the viewshed |
dsm_rast |
object of class |
dtm_rast |
object of class |
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) |
numeric; Proportion of visible area of the viewshed. Values range from 0 to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.