Description Usage Arguments Value See Also
Sample a raster along a straight line between 2 points
1 | rasterprofile(r, xy1, xy2, reso, plot = FALSE)
|
r |
A DEM raster |
xy1 |
A matrix with X and Y coordinates for Point 1 |
xy2 |
A matrix with X and Y coordinates for Points 2 |
reso |
The minimal resolution of the DEM raster. It is
calculated in |
plot |
Plot the process? Default is |
A boolean vector, indicating if Point 1 (xy1) is visible from all elements of Points 2 (xy2)
Other Viewshed Analysis:
cansee()
,
interpol_view()
,
plot_viewshed()
,
viewTo()
,
viewshed()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.