rsaga.target(RSAGA)
rsaga.target()所属R语言包:RSAGA
Define target grid for interpolation
定义目标插值网格
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Define the resolution and extent of a target grid for interpolation by SAGA modules based on (1) fitting the extent to the input data, (2) an existing SAGA grid file, (3) user-defined parameters, or (4) the header data of an ASCII grid. Intended to be used with RSAGA's interpolation functions. WARNING: THIS FUNCTION LIKELY DOESN'T WORK WITH SAGA GIS 2.0.5 BECAUSE OF A CHANGE IN THE PARAMETERIZATION OF TARGET GRIDS...
SAGA模块(1)拟合程度的输入数据,(2)现有的SAGA的网格文件,(3)用户自定义的参数,或(4)头的基础上定义的分辨率和程度进行插值的目标网格数据的ASCII电网。拟用于RSAGA的插值函数。警告:此功能有可能不工作,因为在参数化的目标网格的变化SAGA GIS 2.0.5 ...
用法----------Usage----------
rsaga.target(target = c("user.defined", "grid.system",
"target.grid", "header"),
user.cellsize = 100, user.fit.extent = TRUE,
user.x.extent, user.y.extent, user.bbox,
system.nx, system.ny, system.xy, system.d,
target.grid, header)
参数----------Arguments----------
参数:target
character: method used for defining the target grid
特点:用于定义目标网格方法
参数:user.fit.extent
Only for target="user.defined": logical; if TRUE, use the dimensions of an input grid supplied to the SAGA module, e.g. to rsaga.ordinary.kriging. The other user.* variables should not be provided if user.fit.extent=TRUE.
仅适用于target="user.defined":逻辑,如果TRUE,使用的尺寸输入电网提供的SAGA模块,如rsaga.ordinary.kriging。如果user.*其他user.fit.extent=TRUE变量不应该。
参数:user.cellsize
Only for target="user.defined": raster resolution
仅适用于target="user.defined":栅格分辨率
参数:user.x.extent, user.y.extent
Only for target="user.defined": numeric vectors of length 2: minimum and maximum coordinates of grid cell center points
仅适用于target="user.defined":数字向量长度为2的最小和最大坐标的网格单元格的中心点
参数:user.bbox
Only for target="user.defined": alternative way of specifying extent (either use bbox OR user.*.extent): 2x2 matrix of the form rbind(user.x.extent,user.y.extent).
仅适用于target="user.defined":指定范围内的另一种方式(既可以使用bbox或user.*.extent):2x2矩阵的形式rbind(user.x.extent,user.y.extent)。
参数:system.nx, system.ny
Only for target="grid.system": number of columns and rows of the grid
仅适用于target="grid.system":数列和行的网格
参数:system.xy
Only for target="grid.system": numeric vector of length 2 giving the x and y coordinates at the center of the grid's lower left cell
仅适用于target="grid.system":的数字矢量长度为2的X和Y坐标网格的左下角单元中心
参数:system.d
Only for target="grid.system": cellsize
仅适用于target="grid.system":CELLSIZE的
参数:target.grid
Only for target="target.grid": character string giving the name of a SAGA grid file that specifies the extent and resolution of the target grid
仅适用于target="target.grid":字符串给指定的目标格的范围和分辨率的SAGA的网格文件的名称
参数:header
Only for target="header": list: ASCII grid header (as returned e.g. by read.ascii.grid.header) or defined manually; must at least have components ncols, nrows, cellsize, and either x/yllcorner or x/yllcenter.
只有target="header":列表:ASCII网格标头(例如返回read.ascii.grid.header)或手动定义;必须至少有组件ncols,nrows,cellsize ,是x/yllcorner或x/yllcenter。
注意----------Note----------
This function is to be used with RSAGA functions rsaga.ordinary.kriging, rsaga.inverse.distance, rsaga.nearest.neighbour and rsaga.modified.quadratic.shephard Note that these are currently only compatible with SAGA GIS 2.0.4.
RSAGA功能,此功能是用来rsaga.ordinary.kriging,rsaga.inverse.distance,rsaga.nearest.neighbour和rsaga.modified.quadratic.shephard请注意,这是目前唯一的兼容与SAGA GIS 2.0.4。
(作者)----------Author(s)----------
Alexander Brenning
参见----------See Also----------
read.ascii.grid.header
read.ascii.grid.header
实例----------Examples----------
# Krige attribute 0 from the points shapefile to[克里格0点的shapefile属性]
# a grid with the same extent and resolutionn as the[一个网格,为相同的程度,resolutionn]
# (pre-existing) geology grid:[(存在的)地质格:]
rsaga.ordinary.kriging("points", "dem", field = 0, maxdist = 1000,
target = rsaga.target(target="target.grid",
target.grid = "geology"))
# Specify a target grid manually (see above):[指定目标格手动(见上文):]
rsaga.ordinary.kriging("points", "dem", field = 0, radius = 1000,
target = rsaga.target("grid.system",
system.nx = 200, system.ny = 300,
system.xy = c(604853,7465013), system.d = 50))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|