opengeospatial / sensorthings

The official web site of the OGC SensorThings API standard specification.
135 stars 29 forks source link

Using SWE Common/SensorML encodings for observations #32

Open mikebotts opened 6 years ago

mikebotts commented 6 years ago

Recently, the models for SWE Common Data and SensorML were used to create a JSON encoding for these standards. These JSON encodings are currently being used to support

It is highly recommended that we look at using the SWE Common/SensorML encodings to support observations (as well as tasking) and MQTT message properties within the STA standard. Use of the SWE Common/SensorML models and JSON encoding for both tasking and observations provides the benefits of:

Thanks.

hylkevds commented 6 years ago

Could you give some concrete examples of how things would change?

Sam-Bolling commented 6 years ago

For defense, intelligence, military, and government applications, does this effort involve, or have implications for the use of, AMQP; potentially in lieu of MQTT from a security perspective?

mikebotts commented 6 years ago

Good question. I know STA is built upon or relies on MQTT, at least in the implementation, but I don't know if the communication protocol is limited to MQTT in the standard. This would be the case for both observations and tasking I assume. Steve?

To be clear (I think), the request for SWE Common use here only affects the models and encoding within the messages and shouldn't affect the message exchange protocol.

mikebotts commented 6 years ago

@hylkevds Some examples of using the new JSON encoding within SWE can be found at the bottom of demo links at http://sensiasoft.net:8181/demo.html (JSON Support)

mikebotts commented 6 years ago

I should note for clarification that the JSON encodings were generated from the same models that were used to generate the original XML encodings of SensorML and SWE Common Data.

Sam-Bolling commented 6 years ago

@mikebotts Rereading the original suggestion from your initial post for STA to use the newly developed, SWE Common/SensorML-based JSON encodings, what does this look like for STA moving forward? Does STA already have JSON encodings in use? Would these be replaced or augmented somehow?