Check if a location is visible from multiple locations
viewTo(r, xy1, xy2, h1 = 0, h2 = 0, reso)
A DEM raster
A vector/matrix with X and Y coordinates for Point 1
A vector/matrix with X and Y coordinates for Point 2
A numeric giving the extra height offset for Point 1
A numeric giving the extra height offset for Point 2
The minimal resolution of the DEM raster. It is
calculated in viewshed
and passed along.
A boolean vector, indicating if xy1
is visible from all
elements of xy2
Other Viewshed Analysis:
cansee()
,
interpol_view()
,
plot_viewshed()
,
rasterprofile()
,
viewshed()