resolution_analysis: Viewshed Resolution Analysis

View source: R/resolution_analysis.R

resolution_analysisR Documentation

Viewshed Resolution Analysis

Description

Aggregating the input DSM reduces computiation time on cost of accuracy. The resolution_analysis function computes viewsheds at different resolutions and compares computaion time and accuracy to the original viewshed

Usage

resolution_analysis(
  observer,
  dsm_rast,
  dtm_rast,
  greenspace_rast = NULL,
  max_distance = 800,
  observer_height = 1.7,
  raster_res = NULL,
  progress = FALSE
)

Arguments

observer

object of class sf with POINT geometries; Observer location(s) from where the resolution analysis should be computed.

dsm_rast

object of class rast; rast of the DSM

dtm_rast

object of class rast; rast of the DTM

max_distance

numeric; Buffer distance to calculate the viewsheds

observer_height

numeric > 0; Height of the observer (e.g. 1.7 meters)

raster_res

integer vector; Resolution values that the viewshed raster should be aggregated to. All values must be a multible of the dsm_rast resolution

Value

object of class tibble. Resolution, Similarity, Time [ms]


STBrinkmann/GVI documentation built on March 11, 2024, 3:39 p.m.