MeshData2Raster: SpatialData to Raster 'MeshData2Raster'

Description Usage Arguments Value

View source: R/Func_GIS.R

Description

SpatialData to Raster MeshData2Raster

Usage

1
2
MeshData2Raster(x = getElevation(), rmask = PIHM.mask(crs = crs),
  pm = readmesh(), crs = NULL, stack = FALSE, plot = FALSE)

Arguments

x

vector or matrix, length/nrow is number of cells.

rmask

mask of PIHM mesh

pm

PIHM mesh

crs

Projejction parameter

stack

Whether export the stack, only when the x is a matrix, i.e. (Ntime x Ncell).

plot

Whether plot the result.

Value

Raster map


happynotes/PIHMgisR documentation built on Jan. 25, 2020, 9:51 p.m.