Comment #3 on issue 53 by
dpsnowde...@gmail.com: SWE Templates without OM
wrappers
http://code.google.com/p/ioostech/issues/detail?id=53
I see that there is a conclusion that confirms what Emilio and Shane both
said,
https://code.google.com/p/ioostech/wiki/SOSGuidelines#Representing_feature_type_in_GetObservation
I suppose I didn't think through the implications. My interpretation of
Shane's comment
> For Observation level grouping, the decision at the Baltimore meeting was
> to have a single feature type per Observation block, ...
was that we would not mix classes of featureTypes in the same
om:Observation e.g. no profiles mixed with trajectories. Within an
om:Observation block we have included
<om:procedure>
<om:observedProperty>
<om:featureOfInterest>
in addition to the om:result.
Within featureOfInterest we have a reference to the class of featureTypes
via <gml:metaDataProperty> AND we have the specific location of an instance
of one of those featureTypes in the <gml:location> element. The
om:featureOfInterest is further specified by
<gml:name>urn:ioos:station:wmo:41001</gml:name>. So, if we include
multiple platforms/stations inside the SWE block we need to address that in
the rest of the om:Observation. This seems like a misuse of the
featureOfInstance; is it a class or is it an instance? I think it's an
instance.
Similarly, the fact that there is only one procedure referenced in the
om:Observation implies that the data in the om:result block was generated
by a single process described by a single procedure. I know that
theoretically we have a network procedure but those network procedure
documents are created a priori and aren't dynamically generated as a result
of a query. Consider the use case where you ask the server for temperature
and salinity data in a bounding box that encompasses an NDBC buoy and a
regional buoy. There will be no procedure that describes the combination
of those two platforms.
Finally, this doesn't seem like a big change to me. What is the harm in
encoding the NDBC buoy in one om:Observation block and the regional buoy in
the next block?