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)
# 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