cansee: Calculate Visibility between 2 locations

Description Usage Arguments Value See Also

View source: R/visibility.R

Description

Check if point 1 is visible from point 2 given a certain elevation model

Usage

1
cansee(r, xy1, xy2, h1 = 0, h2 = 0, reso)

Arguments

r

A DEM raster

xy1

A vector/matrix with X and Y coordinates for Point 1

xy2

A vector/matrix with X and Y coordinates for Point 2

h1

A numeric giving the extra height offset for Point 1

h2

A numeric giving the extra height offset for Point 2

reso

The minimal resolution of the DEM raster. It is calculated in viewshed and passed along.

Value

A boolean value, indicating if the point (xy2) is visible

See Also

Other Viewshed Analysis: interpol_view(), plot_viewshed(), rasterprofile(), viewTo(), viewshed()


windfarmGA documentation built on Jan. 13, 2021, 5:21 p.m.