Last chance! 50% off unlimited learning
Sale ends in
SOS(url, method = SosDefaultConnectionMethod(), version = "1.0.0", parsers = SosParsingFunctions(), encoders = SosEncodingFunctions(), dataFieldConverters = SosDataFieldConvertingFunctions(), curlOptions = list(), curlHandle = getCurlHandle(), timeFormat = sosDefaultTimeFormat, verboseOutput = FALSE, switchCoordinates = FALSE, ...)# accessor methods ...
getObservation
call that is done within this function.SOS-class
.SOS(...)
.Object from the class can be used in calls to function for metadata retrieval of sensors (link{describeSensor-methods}
) and observation data queries (link{getObservation-methods}
and link{getObservationById-methods}
)
The document is available for download at
SOS
and the package vignette for general description of use.showClass("SOS")
# create a SOS connection
mysos <- SOS(url = "http://mysos.org/sos")
# create a SOS connetion with a specific connection method and time format
mysos <- SOS(url = "http://mysos.org/sos",
method = "GET", timeFormat = "
# turn on verbose output for all methods and functions
SOS(url = "http://mysos.org/sos", verboseOutput = TRUE)
# get the meaning of an exception code
sosExceptionCodeMeaning(ex@exceptionCode)
# print the changes document
sosChanges()
# create a CRS object from a URN CRS string
sosGetCRS("urn:ogc:def:crs:EPSG:4217")
Run the code above in your browser using DataLab