- dsm
Raster, the digital surface model/digital elevation model
- viewpoints
sf point(s) or vector including x,y coordinates of a viewpoint
or a matrix including several viewpoints with x,y coordinates
- offset_viewpoint
numeric, setting the height of the viewpoint.
(default is 1.7 meters).
- offset_height
numeric, setting the height of positions that a given
viewpoint will look at. (defaut is 0)
- r
Numeric (optional), setting the radius for viewshed analysis.
(The default is 1000m/3281ft)
- refraction_factor
Number, indicating the refraction factor.
The refraction factor adjusts the effect of atmospheric refraction
on the apparent curvature of the Earth. In most standard applications, a refraction factor
of 0.13 is used, and so does this function. However, the appropriate refraction factor may
vary depending on environmental conditions.
- method
Character, The algorithm for computing a viewshed:
"plane" and "los" (see details). "plane" is used as default.
- parallel
Logical, (default is FALSE) indicating if parallel computing
should be used to compute viewsheds of multiview points. When it is TRUE,
arguements 'raster' and 'plot' are ignored
- workers
Numeric, indicating the number of CPU cores that will be used
for parallel computing. It is required if 'parallel' is 'TRUE'.
- raster
Logical, (default is FALSE) if it is TRUE, the raster of
viewshed will be returned.
The default is FALSE
- plot
Logical, (default is FALSE) if it is TRUE, the raster of
viewshed will be displayed