This function obtains the information about Feature(s) Of Interest (FOI(s)) provided by a Sensor Observation Services (SOS).
Arguments
- sosURL
A
character
. The endpoint of the Sensor Observation Service (SOS) service.- show_map
A
logical
. When TRUE the boundary will be plotted on a Leaflet map. Default FALSE.
Value
The output of the function is a sf
. The table contains all the information
about Feature(s) Of Interest (FOI(s)) provided by a Sensor Observation
Services (SOS).
The columns are about: sampling feature (typeSf,
description, name), sampled feature id (sampledFeature), coordinate reference
system code (srsName) and coordinates (geometry).
Examples
if (FALSE) {
## Not run:
LTERItaly <- get_sos_foi(
sosURL = "http://getit.lteritalia.it/observations/service",
show_map = TRUE
)
LTERItaly
eurac_monalisa <- get_sos_foi(
sosURL = "http://monalisasos.eurac.edu/sos/service",
show_map = FALSE
)
eurac_monalisa
NIVA <- get_sos_foi(
sosURL = "https://hydro-sos.niwa.co.nz/",
show_map = FALSE
)
NIVA
}
## End (Not run)