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

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

[复制链接]
发表于 2012-9-30 11:56:19 | 显示全部楼层 |阅读模式
Defaults(sos4R)
Defaults()所属R语言包:sos4R

                                        Default Parameter Settings and Handling Functions
                                         默认的参数设置和处理功能

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

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

These values are default parameters and handling functions for connections and requests to, as well as response processing of ansers from, Sensor Observation Services. These allow to simplify a SOS connection for the most common use cases and non-expert users.
这些值是为连接和请求的默认参数和处理功能,以及响应处理,传感器观察事务的ansers从。这可以简化SOS最常见的用例和非专业用户的连接。


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


SosDefaultConnectionMethod()

SosParsingFunctions(..., include = character(0), exclude = character(0))
SosEncodingFunctions(..., include = character(0), exclude = character(0))
SosDataFieldConvertingFunctions(..., include = character(0), exclude = character(0))

SosDisabledParsers()

SosExampleServices()

SosDefaults()

SosResetParsingFunctions(sos)



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

参数:...
Named references to functions to be used for the respective element during parsing, encoding oder conversion, e.g. "myUnit" = myUnitParser.
要用于在解析过程中的各元件的功能,编码化成转换,例如提及的参考"myUnit" = myUnitParser。


参数:include
A list of names of elements whose functions shall be included in the returned list, e.g. include = c("GetObservation", "DescribeSensor"). This inclusion is done after replacing the default functions based on the ... argument.
元素的功能名称列表应包含在返回的列表,例如: include = c("GetObservation", "DescribeSensor")。这包含后替换默认功能...参数的基础上,完成。


参数:exclude
A list of names of elements whose functions shall be excluced in the returned list, e.g. exclude = c("DescribeSensor"). This exclusion is done after replacing the default functions based on the ... argument.
被在返回列表excluced的元素的功能名称列表,例如exclude = c("DescribeSensor")。这种排斥后替换默认功能...参数的基础上,完成。


参数:sos
An object of class SOS.
对象的类SOS。


Details

详细信息----------Details----------

The default values are strongly related to what is actually implemented in the package, but also often resemble the (hopefully) most common use cases.
默认值是密切相关的实际执行的包,还经常像(希望),最常见的用例。

Some defaults are accessed directly, others should be accessed using a function. The latter is required for cases where a runtime evaluation is needed, e.g. for default values of construction functions.
一些默认值直接访问,其他应使用一个函数来访问。后者情况下,需要一个运行时评价,例如所需的建筑功能为默认值。

A special case are the functions to access the default functions for specific purposes, which are the parsing functions, the encoding functions and the field converting functions. See the examples on how to use them.
一个特殊情况是访问的默认功能为特定的目的,这是解析功能,编码功能和转换功能领域的功能。请参阅如何使用它们的例子。

The function SosDisabledParsers can be used to use no parsing at all (despite the parsing for the capabilities response, which is required for establishing a connection to a SOS. This function is helpful to inspect the unprocessed responses from a service.
的功能SosDisabledParsers可以在所有(尽管不使用解析解析响应的能力,这是需要建立一个连接到一个SOS。这是有帮助的检查未处理的反应,从服务功能。

The function SosResetParsingFunctions can be used to replace the included parsing functions of a SOS object with the default ones. This is even useful for development of the default parsing functions.
功能SosResetParsingFunctions可以用来取代SOS对象包括解析函数与默认的。这是发展的默认解析功能,甚至有用。

The default parameter values are:
默认的参数值如下:

The default parsing functions can be replaced for a variety of XML elements, so that you only need to replace the parts of the parsing that really must be changed. Be aware that inclusion and exclusion are performed after merging the given functions with the defaults!
默认解析功能,可取代各种XML元素,所以你只需要更换零件的解析,真的必须改变。要知道,纳入和排除进行合并后的给定函数的默认值!

Example Services: This list contains a few SOS instances that were tested (to different degress) with sos4R. The package authors do not maintain these services, so no guarantee can be given that these are usable.
例:此列表中包含几个SOS情况下,进行了测试(不同辈分)sos4R。包作者不维护这些服务,所以不能保证可以给这些都是可用的。


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

The default value of the respective setting or parameter. This can be a list, especially a named list of functions.
相应的设置或参数的默认值。这可以是一个列表,尤其是一个命名的函数列表。


参考文献----------References----------

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 00:06 , Processed in 0.032753 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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