Learn R Programming

sos4R (version 0.1-10)

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()
SosSupportedComparisonOperators()
SosSupportedConnectionMethods()
SosSupportedGeometryOperands()
SosSupportedResponseFormats()
SosSupportedResponseModes()
SosSupportedResultModels()
SosSupportedSpatialOperators()
SosSupportedTemporalOperators()
SosSupportedServiceVersions()

Arguments

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. SosSupportedConnectionMethods()[[1]] instead of directly writing "GET".

See Also

See Defaults for default values of parameters.

Examples

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

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

# 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