Learn R Programming

sos4R (version 0.4.2)

Supported: Functions to Access Supported Features of the Current sos4R Implementation

Description

These functions can be used to access the supported parameters for a range of settings of a SOS connection.

Usage

SosSupportedOperations(version = sos100_version)
SosSupportedComparisonOperators()
SosSupportedBindings()
SosSupportedGeometryOperands()
SosSupportedResponseFormats()
SosSupportedResponseModes()
SosSupportedResultModels()
SosSupportedSpatialOperators()
SosSupportedTemporalOperators()
SosSupportedServiceVersions()

Arguments

version

The SOS specification version.

Value

A list of supported values for the respective parameter.

Details

Supported features, like connection methods and supported response modes, are accessible by functions starting with "SosSupported". See the examples section for a complete list of these functions.

It is encouraged to rather use these methods than manually set character values for compatibility with future versions, e.g. SosSupportedBindings()[[1]] instead of directly writing "GET".

See Also

See Defaults for default values of parameters.

Examples

Run this code
# NOT RUN {
# The supported operations of the specification
SosSupportedOperations()

# HTTP connection methods supported by this sos4R implementation
SosSupportedBindings()
myBinding <- SosSupportedBindings()[[1]]
myBinding

# Formats, modes and models that can be processed by this implementation
SosSupportedResponseFormats()
SosSupportedResultModels()
SosSupportedResponseModes()

# Operators and operands for filtering in a GetObservation request
SosSupportedTemporalOperators()
SosSupportedSpatialOperators()
SosSupportedGeometryOperands()
SosSupportedComparisonOperators()
# }

Run the code above in your browser using DataLab