sample.line.inkl.start.end.make.dem: Function for drawing points at a given interval along a line...

Description Usage Arguments Value Author(s)

Description

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

Usage

1
2
sample.line.inkl.start.end.make.dem(x, sdist = 1, interp.z = TRUE,
  spdf, zmanual = FALSE)

Arguments

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)

Value

results A SpatialPointsDataFrame

Author(s)

Emmanuel Jjunju, ejjunju@gmail.com


ejjunju/EditTerrainJE documentation built on May 8, 2019, 8:08 a.m.