Learn R Programming

sos4R (version 0.1-15)

SweCompositePhenomenon-class: Classes and Construction Functions for the SWE Namespace

Description

These classes represent elements from the OpenGIS(R) Sensor Model Language (SensorML) Implementation Specification that are used to model observation data in responses from a Sensor Observation Service.

Usage

SweCompositePhenomenon(id, name, description = as.character(NA), dimension, components, base = NULL)
SwePhenomenon(id, name, description = as.character(NA))
SwePhenomenonProperty(href = as.character(NA), phenomenon = NULL)
SweTextBlock(tokenSeparator, blockSeparator, decimalSeparator, id = as.character(NA))

Arguments

id
The character string to be used for the id attribute (mandatory).
name
The character string to be used for the name element (mandatory).
description
The character string to be used for the description element.
dimension
The dimensions of a composite phenomenon (mandatory).
components
The (sub-) components of a composite phenomenon (mandatory).
base
The (optional) base element for a composite phenomenon.
href
A reference to an (online) object instead of a inline property.
phenomenon
The inline phenomenon of a phenomenon property.
tokenSeparator
The character to be used as the token seperator, often ",".
blockSeparator
The character to be used as the block seperator, often ";".
decimalSeparator
The character to be used as the decimal seperator, often ".".

Value

  • The construction functions return an object of the respective class.

Objects from the Class

Objects can be created by calls to the constrction functions of the form SweCompositePhenomenon( ...), SwePhenomenonProperty( ...) and so forth.

The following classes are virtual, no objects may be created from them: SwePhenomenonOrNULL, SwePhenomenonPropertyOrNULL.

Extends

SweCompositePhenomenon: Class "SwePhenomenon", directly. Class "SwePhenomenonOrNULL", by class "SwePhenomenon", distance 2.

SwePhenomenon: Class "SwePhenomenonOrNULL", directly.

SwePhenomenonProperty: Class "SwePhenomenonPropertyOrNULL", directly.

Details

The ...OrNULL classes are used to model optional slots.

References

See section 9, SWE Common XML Encoding and Examples, of Botts, M., Robin, A. (Eds.), OpenGIS(R) Sensor Model Language (SensorML) Implementation Specification, Open Geospatial Consortium Inc., OGC 07-000

Examples

Run this code
showClass("SweCompositePhenomenon")
showClass("SwePhenomenon")
showClass("SwePhenomenonProperty")
showClass("SwePhenomenonPropertyOrNULL")
showClass("SweTextBlock")


# TBD examples for construction functions

Run the code above in your browser using DataLab