rsaga.grid.to.points(RSAGA)
rsaga.grid.to.points()所属R语言包:RSAGA
Convert SAGA grid file to point shapefile
SAGA的网格文件转换点坐标,
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Convert SAGA grid file to point (or polygon) shapefile -
SAGA格档转换点(或多边形)的shapefile -
用法----------Usage----------
rsaga.grid.to.points(in.grids, out.shapefile,
in.clip.polygons, exclude.nodata = TRUE,
type = "nodes", env = rsaga.env(), ...)
rsaga.grid.to.points.randomly(in.grid, out.shapefile, freq, ...)
参数----------Arguments----------
参数:in.grids
Input: names of (possibly several) SAGA grid files to be converted into a point shapefile.
输入:(可能是数)SAGA被转换成一个点坐标,格档的名称。
参数:in.grid
Input: SAGA grid file from which to sample.
输入:SAGA网格文件的样品。
参数:out.shapefile
Output: point shapefile (default extension: .shp). Existing files will be overwritten!
输出点坐标(默认扩展名:.shp)。现有的文件将被覆盖!
参数:in.clip.polygons
optional polygon shapefile to be used for clipping/masking an area
要用于可选的多边形的shapefile裁剪/掩蔽的区域
参数:exclude.nodata
logical (default: TRUE): skip 'nodata' grid cells?
逻辑(默认:TRUE):跳跃“无数据网格单元?
参数:type
character string: "nodes": create point shapefile of grid center points; "cells" (only supported by SAGA GIS 2.0.6+): create polygon shapefile with grid cell boundaries
字符串:"nodes":创建的网格点坐标,中心点; "cells"(只支持SAGA GIS 2.0.6 +):创建多边形shape文件的网格单元格的边界
参数:freq
integer >=1: sampling frequency: on average 1 out of 'freq' grid cells are selected
整数> = 1:选择采样频率:平均1“频率”的网格单元
参数:env
RSAGA geoprocessing environment created by rsaga.env; required by rsaga.grid.to.points to determine version-dependent SAGA module name and arguments
RSAGA创建的GEO处理环境rsaga.env需要rsaga.grid.to.points,以确定依赖于版本的SAGA模块的名称和参数
参数:...
Optional arguments to be passed to rsaga.geoprocessor
可选参数传递给rsaga.geoprocessor
注意----------Note----------
These functions use modules Grid Values to Shapes (code: 3; pre-2.0.6 name: Grid Values to Points) and Grid Values to Points (randomly) (code: 4) in SAGA library shapes_grid.
这些功能使用模块的Grid Values to Shapes(代码:3;-2.0.6之前的名称:Grid Values to Points)和Grid Values to Points (randomly)(代码4)在SAGA库shapes_grid的。
The SAGA 2.0.6+ module Grid Values to Shapes is more flexible than the earlier versions as it allows to create grid cell polygons instead of
SAGA 2.0.6 +模块Grid Values to Shapes比早期版本更灵活,因为它允许创建网格单元的多边形,而不是
(作者)----------Author(s)----------
Alexander Brenning (R interface), Olaf Conrad (SAGA modules)
参见----------See Also----------
rsaga.add.grid.values.to.points
rsaga.add.grid.values.to.points
实例----------Examples----------
# one point per grid cell, exclude nodata areas:[一个点,每个网格单元,排除无数据区:]
rsaga.grid.to.points("dem", "dempoints")
# take only every 20th point, but to not exclude nodata areas:[只需要每20点,但不排除无数据区:]
rsaga.grid.to.points.randomly("dem", "dempoints20", freq = 20)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|