Description Details References See Also Examples
The SOS comes with three possible methods of transferring data, HTTP GET, HTTP POST and SOAP.
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.
Wikipedia page for HTTP request methods: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods.
1 2 3 4 5 6 7 8 | # HTTP connection methods supported by this sos4R implementation
supported <- SosSupportedBindings()
supported
## Not run:
sos <- SOS("http://sosurl.org/", binding = "KVP")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.