Learn R Programming

sos4R (version 0.4.2)

SosBindings: Bindings and Connecition Methods of OGC Sensor Observation Service

Description

The SOS comes with three possible methods of transferring data, HTTP GET, HTTP POST and SOAP.

Arguments

Details

The POST binding is described in the official SOS specification and should be the default method.

The GET binding is described by OOTethys in a Best Practice document: https://web.archive.org/web/20120616065001/http://www.oostethys.org/best-practices/best-practices-get. It contains some special encoding for bounding boxes, as the only spatial filter, and time periods, as the only temporal filter.

The SOAP binding is not official with regards to the spec, and also not implemented yet.

The connection method can be changed on creation of a SOS object.

References

Wikipedia page for HTTP request methods: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods.

See Also

SosSupportedBindings

Examples

Run this code
# NOT RUN {
# HTTP connection methods supported by this sos4R implementation
supported <- SosSupportedBindings()
supported

# }
# NOT RUN {
sos <- SOS("http://sosurl.org/", binding = "KVP")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab