sos4R-package(sos4R)
sos4R-package()所属R语言包:sos4R
A client for the OGC Sensor Observation Service
OGC传感器观测服务的客户端
译者:生物统计家园网 机器人LoveR
描述----------Description----------
sos4R is a client for Sensor Observation Services (SOS). It allows users to retrieve metadata from SOS web service instances as specified by the Open Geospatial Consortium (OGC) and subsequently to interactively create requests for observation data based on the available sensors, phenomena, observations, offerings etc.
sos4R是一个客户端的传感器观测服务(SOS)。它允许用户检索元数据SOS Web服务实例所指定的开放GEO空间联盟(OGC),随后以交互方式创建请求观测数据的基础上可用的传感器,现象的观察,产品等
Details
详细信息----------Details----------
注意----------Note----------
The development of this software was gratefully supported by the 52North Student Innovation Prize for Geoinformatics 2010.
,由52North学生创新奖2010年为GEO信息软件的发展,这是感激的支持。
To stay updated on all matters around sos4R go to the development blog at http://www.nordholmen.net/sos4r/.
为了保持更新周围的所有事项sos4R去发展的博客http://www.nordholmen.net/sos4r/。
If you want to ask questions about using the software, please go to the 52North forum for the geostatistics community (http://geostatistics.forum.52north.org/), or consider subscribing to the mailing list (http://list.52north.org/mailman/listinfo).
如果你要问有关使用软件的问题,请的52North论坛的地质统计学社区(http://geostatistics.forum.52north.org/),或,考虑订阅邮件列表(http://list。 52north.org/mailman/listinfo)。
The most extensive documenation is contained in the <STRONG>package vignette</STRONG>.
最广泛documenation,包含在<STRONG>包小插曲</ STRONG>。
(作者)----------Author(s)----------
Daniel Nuest <daniel.nuest@uni-muenster.de>
参考文献----------References----------
参见----------See Also----------
See also the package vignette, vignette(sos4R).
见也包小插曲,vignette(sos4R)。
实例----------Examples----------
## Not run: [#不运行:]
# Take a SOS from the example list[以一个SOS的例子列表]
sos.url = SosExampleServices()[[1]]
# Open the connection[打开连接]
sos = SOS(url = SOS)
# List offerings, procedures and observedProperties[列表产品,程序和observedProperties,,]
names(sosOfferings(sos))
sosProcedures(sos)
sosObservedProperties(sos)
# Create time period (last 30 days)[创建时间段(最近30天)]
tPeriod <- sosCreateEventTimeList(
time = sosCreateTimePeriod(
sos = pegelsos,
begin = Sys.time() - (3600 * 24 * 30),
end = Sys.time()))
# Request data for all observed properties and procedures of a certain offering[所有观察到的性能有一定的产品和程序的请求数据]
observation <- getObservation(sos = sos,
observedProperty = sosObservedProperties(sos),
offering = sosOfferings(sos)[[2]],
procedure = sosProcedures(sos),
eventTime = tPeriod)
# Inspect result[检查结果]
sosResult(observation)
str(sosResult(observation))
# Inspect attributes of the data fields[检查的数据字段的属性]
if(is.list(sosResult(observation))) {
attributes(sosResult(observation)[,1])
}
else {
attributes(sosResult(pegelObs)[,1])
}
# Use custom converting function and connection method. This mechanism works the same for encoders and decoders.[使用自定义转换的功能和连接方法。这种机制相同的编码器和解码器。]
myConverters <- SosDataFieldConvertingFunctions(
"myNumericUnit" = sosConvertDouble)
mySos <- SOS(sos.url, method = "GET", dataFieldConverters = myConverters)
sosDataFieldConverters(mySos)
# get the cheat sheet[获得小抄]
sosCheatSheet()
# view the NEWS file[查看新闻档案]
sosNews()
# DEPRECATED: the changes document[DEPRECATED:文件]
#sosChanges()[sosChanges()]
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|