MeshData2Raster: SpatialData to Raster 'MeshData2Raster'

View source: R/Func_GIS.R

MeshData2RasterR Documentation

SpatialData to Raster MeshData2Raster

Description

SpatialData to Raster MeshData2Raster

Usage

MeshData2Raster(
  x = getElevation(),
  rmask = shud.mask(proj = proj),
  pm = readmesh(),
  proj = NULL,
  stack = FALSE,
  method = "ide",
  plot = FALSE
)

Arguments

x

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

rmask

mask of the mesh file

pm

shud mesh

proj

Projejction parameter

stack

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

method

method for interpolation, default = 'idw'

plot

Whether plot the result.

Value

Raster map


SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.