找回密码
 注册
查看: 514|回复: 0

R语言 spgrass6包 gmeta6()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 15:06:35 | 显示全部楼层 |阅读模式
gmeta6(spgrass6)
gmeta6()所属R语言包:spgrass6

                                        Reads GRASS metadata from the current LOCATION
                                         读取GRASS元数据,从当前位置

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

GRASS LOCATION metadata are read into a list in R; helper function getLocationProj returns an spproj-compliant PROJ.4 string of projection information. The helper function gmeta2grd creates a GridTopology object from the current GRASS mapset region definitions.
GRASS地点的元数据被读入到在R中的列表;辅助的功能getLocationProj返回一个spproj兼容PROJ.4的投影信息的字符串。辅助函数gmeta2grd创建一个GridTopology的对象从当前GRASS的图集区域定义。


用法----------Usage----------


gmeta6(ignore.stderr = FALSE)
getLocationProj(ignore.stderr = FALSE)
gmeta2grd(ignore.stderr = FALSE)
## S3 method for class 'gmeta6'
print(x, ...)
get.ignore.stderrOption()
get.stop_on_no_flags_parasOption()
get.useGDALOption()
get.pluginOption()
get.echoCmdOption()
set.ignore.stderrOption(value)
set.stop_on_no_flags_parasOption(value)
set.useGDALOption(value)
set.pluginOption(value)
set.echoCmdOption(value)



参数----------Arguments----------

参数:ignore.stderr
default FALSE, can be set to TRUE to silence system() output to standard error; does not apply on Windows platforms
默认为false,可以设置为TRUE,以沉默system()输出到标准错误,并不适用于Windows平台


参数:x
S3 object returned by gmeta6
S3返回的对象gmeta6


参数:...
arguments passed through print method
通过印刷方法的参数传递


参数:value
logical value for setting options on ignore.stderr set by default on package load to FALSE, stop_on_no_flags_paras set by default on package load to TRUE, useGDAL set by default on package load to TRUE, plugin set by default on package load to NULL, echoCmd set by default on package load to FALSE
ignore.stderr集上的选项包加载默认设置为FALSE的逻辑值,stop_on_no_flags_paras设置默认情况下,包负载TRUE,useGDAL的包加载默认设置为TRUE,plugin的包加载默认设置为NULL,echoCmd的包加载默认设置为FALSE


值----------Value----------

Returns list of g.gisenv, g.region -g3, and g.proj values
返回列表,g.region-g3的g.gisenv,和g.proj值


(作者)----------Author(s)----------


Roger S. Bivand, e-mail: <a href="mailto:Roger.Bivand@nhh.no.">Roger.Bivand@nhh.no.</a>



实例----------Examples----------


if (nchar(Sys.getenv("GISRC")) > 0) {
  G <- gmeta6()
  print(G)
  CRS(getLocationProj())
  grd <- gmeta2grd()
  print(grd)
  ncells <- prod(slot(grd, "cells.dim"))
  df <- data.frame(k=rep(1, ncells))
  mask_SG <- SpatialGridDataFrame(grd, data=df)
  print(summary(mask_SG))
}

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-18 23:12 , Processed in 0.024633 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表