Description Usage Arguments Value Author(s)
Function for drawing points at a given interval along a line
Find the elavtion of points by interpolating between the elevations of the start and endpoints if interpZ==TRUE
Create a raster by interpolating the elevations
1 2 | sample.line.inkl.start.end.make.dem(x, sdist = 1, interp.z = TRUE,
spdf, zmanual = FALSE)
|
x |
A SpatialLinesDataFrame (must have a projection in metres), Lines along which points are created. Must have data with first column (ID) second column (Zs) and third column (Ze) . Zs and Ze are start and end elevations for each line (ID). |
sdist |
interval in metres |
interp.z |
Should be TRUE (for now) |
spdf |
A SpatialPolygonsData Frame (a bounding polygon for the interpolation ) |
zmanual |
TRUE/FALSE decide whether to read the elevations from the raster (feks Excavation)or manually enter them (feks filling) |
results
A SpatialPointsDataFrame
Emmanuel Jjunju, ejjunju@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.