fx.edit.terrain: Function to edit a DEM(depends on other functions above)

Description Usage Arguments Value Author(s) Examples

Description

Function to edit a DEM(depends on other functions above)

Usage

1
2
3
4
5
fx.edit.terrain(dem = "dem.tif", nlines = 4, zmanual = FALSE,
  OutPrefix = "Result",
  coord.sys = "+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs",
  plot.shapes = FALSE, male.pts = NULL, other.shps = NULL,
  xlim = NULL, ylim = NULL)

Arguments

dem

Path to a raster withe levation data (tif).

nlines

NUmber of editing lines to be drawn for cutting/filling terrain

zmanual

TRUE/FALSE determines whether elevations fro start end endpoints to the editing lines are enteered manually or read from the terrain

OutPrefix

a prefix for the output filenames

Value

A list with elements: (1) Drawn interpolation lines and (2) bounding polygon polys.df and (3) Edited terrain model dem

Author(s)

Emmanuel Jjunju, ejjunju@gmail.com

Examples

1
fx.edit.terrain("dem.tif",nlines=4,zmanual=F,OutPrefix="Result")

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