OverlayDEM: Create DEM mosaic to cover spatial object

Description Usage Arguments Details Value

Description

Covers a shape with a DEM grid

Usage

1
2
OverlayDEM(geom1, tileindex, DEM_dir, output_dir, tol, product = "CDED",
  tileid_field = "NTS_SNRC", ...)

Arguments

geom1

An R Spatial* object to be covered with the DEM

tileindex

spatialpointspolygon of DEM tile indices or path to shapefile of tile index

DEM_dir

directory where DEM tiles are stored

output_dir

where output DEM should be saved

tol

(optional) how wide should geom1 be buffered (metres) before determining how big the DEM needs to be to cover it

tileid_field

Name of column in tileindex that gives DEM sheet number

...

optional arguments passed to CompileDEM

Details

Builds a DEM from elevation dataset that either extends a fixed distance on either side of a spatialobject (if a tol(erace) is specified) or intersects the DEM index (if tileindex is specified)

Value

name of output DEM


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.