Clarification: Is sensor a *type* or *instance*? #214
matthijskooijman
started this conversation in
Best Practice
Replies: 1 comment
-
|
Excellent question, no clear answer! Totally depends on how you're utilizing STA:
As you state, both options are useful in different contexts, so we have no desire to constrain this. When you work with a STA system, it rapidly becomes clear which paradigm is being followed. Under V2.0 with the OMS extension, it clearly shifts to option 2, as the Deployment links a specific Sensor to a specific Thing. @hylkevds document this a bit more |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Looking through the SensorThings specification, it seems unclear to me what a "Sensor" models exacty. Is that:
I looked through the 1.1 and in-progress 2.0 specs, but this seems to not be explicitly defined.
This distinction is not merely a semantic distinction, it is relevant for interpreting the structure of the data. In particular:
I suspect that meaning 2 is the intended meaning (each sensor is a specific sensor), but it would be good if the spec could make this more explicit (or if it is intentionally left open, then make that explicit).
The description of sensor does not seem to make this explicit, and the datastream definition contains these two examples which can also still be interpreted both ways (since they lack an example with two datastreams on the same sensor):
This ambiguity was previously mentioned at #161 (comment) (but that main issue is a different one).
I also believe that both interpretations can be useful, and in some cases you might want to express both in the same dataset (e.g. "these obervations are made with this sensor with this serial number and this calibration info, which is an instance of this type of sensor with this model number and these capabilities and characteristics"). Such a typeof relation could now be expressed using a SensorML typeof relation that references one sensor object from another (or references some external URL), but it might also be useful if this is supported more directly in SensorThings. Is this something for the relations that are being added to 2.0?
Beta Was this translation helpful? Give feedback.
All reactions