Closed nuest closed 5 years ago
For subsequent queries I would need sosObservedProperties(__myOfferings)[[1]] to return "WaterQuality"!
Ok. for that to work you (or me) will have to implement a parsing function for the composite phenomenon (similiar to what happens in this function: https://github.com/52North/sos4R/blob/master/R/SWE-methods-parsing.R#L270). Are you interested or able to do this? You can also check if the vignette's section on writing your own parsers can already help you.
I can't say right now when I will be able to implement this, probably not in the next week.
@valruggero you can test the new parsing by installing a branch from GitHub:
devtools::install_github("sos4R", username = "nuest", ref = "parsing")
The following observed property is not parsed by sos4R:
Taken from https://github.com/nuest/sos4R/blob/0a22387e6dfca886514ac82a3b272ce2f3c9b354/tests/responses/GetCapabilities_Mapserver.xml
Continue in https://github.com/nuest/sos4R/blob/0a22387e6dfca886514ac82a3b272ce2f3c9b354/tests/testthat/capabilities.R