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

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

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

                                        Classes and Construction Functions for sos:eventTime elements.
                                         类的构造函数,用于SOS:eventTime的元素。

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

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

Temporal query parameters for GetObservation requests.
时态查询参数为GetObservation请求。


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


SosEventTime(temporalOps)
SosEventTimeLatest()



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

参数:temporalOps
An object of class OgcBinaryTemporalOp-class to be wrapped by the sos:eventTime element.
被包装的对象类OgcBinaryTemporalOp级的SOS:eventTime元素。


Details

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

Specifies the time period(s) for which observations are requested. This allows a client to request observations from a specific instant, multiple instances or periods of time in the past, present and future. The supported range is listed in the selected offering capabilities. The objects of these classes are used in the GetObservation (paramter in GetObservation).
指定的时间周期(s)的观测要求。这允许客户端请求一个特定的瞬间,多个实例或在过去,现在和未来的一段时间内观测。列出支持的范围是在选定的提供能力。这些类的对象中使用在GetObservation(在GetObservation放慢参数)。

The request for the latest observation is not standard conform. The distinction between the classes happens eventually during encoding, where both classes have different encoding functions.
最新观测的要求,不符合标准。类之间的区别,最终在编码过程中发生的,这两个类有不同的编码功能。

A typical example in a POST request:
POST请求中的一个典型的例子:


从类的对象----------Objects from the Classes----------

Objects can be created by calls to the construction functions of the form SosEventTime(...) or SosEventTimeLatest(...).
可以创建对象的形式SosEventTime(...)或SosEventTimeLatest(...)的构造函数的调用。


插槽----------Slots----------




temporalOps: Object of class "OgcBinaryTemporalOp" for SosEventTime, the temporal operand to be inserted into the event time, or an object of class "character" for SosEventTimeLatest.
temporalOps:类的对象"OgcBinaryTemporalOp"SosEventTime,时间的操作数被插入到事件的时间,或一个类的对象"character"SosEventTimeLatest。


方法----------Methods----------




encodeKVP signature(obj = "SosEventTime", sos = "SOS"): Encode the given object as a key-value pair.
encodeKVPsignature(obj = "SosEventTime", sos = "SOS"):一个键 - 值对给定对象的编码。




encodeXML signature(obj = "SosEventTime", sos = "SOS") or signature(obj = "SosEventTimeLatest", sos = "SOS"): Encode the given object as XML.
encodeXMLsignature(obj = "SosEventTime", sos = "SOS")或signature(obj = "SosEventTimeLatest", sos = "SOS"):给定对象的XML编码。


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


Daniel Nuest <a href="mailto:daniel.nuest@uni-muenster.de">daniel.nuest@uni-muenster.de</a>



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

<h3>See Also</h3>

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


showClass("SosEventTime")
showClass("SosEventTimeLatest")

## Not run: [#不运行:]
# create SosEventTime for all times after the given time stamp[创建给定的时间戳记后的所有时间SosEventTime]
tOps <- TM_After(time = GmlTimeInstant(timePosition = GmlTimePosition(as.POSIXct("2010-01-01 12:00"))))
time1 <- SosEventTime(tOps)

# encode it as XML and KVP[编码为XML和KVP]
encodeXML(time1)
encodeKVP(time1)

time2 <- SosEventTimeLatest()
encodeXML(time2)

## End(Not run)[#(不执行)]


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 15:51 , Processed in 0.030045 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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