Sample a raster along a straight line between 2 points
Arguments
- 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
viewshedand passed along.- plot
Plot the process? Default is
FALSE
See also
Other Viewshed Analysis:
cansee(),
interpol_view(),
plot_viewshed(),
viewTo(),
viewshed()