Skip to content

opengeospatial/sensorthings

Repository files navigation

OGC SensorThings API

The OGC SensorThings API is an OGC standard specification for providing an open and unified way to interconnect IoT devices, data, and applications over the Web. The SensorThings API is an open standard, builds on Web protocols and the OGC Sensor Web Enablement standards, and applies an easy-to-use REST-like style. The result is to provide a uniform way to expose the full potential of the Internet of Things.

Standard Specification

Using the standard

The standard is on OGC SensorThings API page:

Implementating and certified servers are also listed on OGC website:

Some client implementations exist:

  • FROST-Client is a Java client library for communicating with a SensorThings API compatible server.
  • Geodan SensorThings .NET SDK makes it easy to add OGC SensorThings support to your .NET application.

If you want to see the standard in action, check out our list of public end points

How to Cite OGC SensorThings API

  • Version 1.0: Liang, Steve H.L., Chih-Yuan Huang, and Tania Khalafbeigi. "OGC SensorThings API Part I:Sensing" OGC® Implementation Standard (2016)
  • Version 1.1: Liang, Steve H.L., Tania Khalafbeigi and Hylke van der Schaaf. "OGC SensorThings API Part 1: Sensing Version 1.1" OGC® Implementation Standard (2021)

About

Contributions

OGC Blog Posts

Compliance

No standard is complete without compliance test. The SensorThings test suite is available on the OGC Compliance and Interoperability Testing and Evaluation(CITE) website. You can test your service against SensorThings API after registering on CITE website.

Frequent Asked Questions

Is SensorThings API part of the OGC Sensor Web Enablement standards?

The answer is YES. This might be the #1 question get asked. SensorThings API is part of the OGC Sensor Web Enablement standards. Hey, SensorThings API was called SWE for IoT! For example, SensorThings API's data model is based on OGC/ISO Observations and Measurements (OGC/ISO 19156:2011), so that it can easily interoperate with OGC Sensor Observation Services (SOS). The main difference is that SensorThings is RESTful, uses the efficient JSON encoding, adopts the OASIS OData URL pattern and query options, and supports the ISO MQTT messaging protocol.

What is the OGC SensorThings API?

The OGC SensorThings API is an OGC standard providing an open and unified framework to interconnect IoT devices, data, and applications over the Web. It is non-proprietary, platform-independent, and perpetual royalty-free. The OGC SensorThings API significantly simplifies and accelerates the development of IoT applications. Application developers can connect to various IoT devices and create innovative applications without worrying the daunting heterogeneous protocols of the different IoT devices. The OGC SensorThings API can also be embedded within various IoT hardware and software platforms, so that the various IoT devices can effortlessly connect with the OGC standard-compliant servers around the world. In summary, the OGC SensorThings API is transforming the numerous disjointed IoT systems into a fully connected platform where complex tasks can be synchronized and performed.

Why do we develop the OGC SensorThings API?

In today's world, most sensors have proprietary software interfaces defined by their manufacturers and used selectively. New APIs are requested and developed on an as needed basis. This situation causes significant burden not only on developers who develop applications with new sensors, but also on providers of gateways, portals or services where observations are used. The OGC SensorThings API defines standardized interfaces for sensors in the Web of Things (WoT) and Internet of Things (IoT), two terms that are frequently used interchangeably. These standardized interfaces will permit the proliferation of new high value services with lower overhead of development and wider reach, and will also lower the cost for sensor and gateway providers.

What is the status of the OGC SensorThings API?

OGC SensorThings API is an official OGC standard specification. The OGC SensorThings API was approved by OGC Techncial Committee in February 2016.

Is the OGC SensorThings API a new standard?

Yes and No. The answer can be yes, because it is a new standard designed specifically for IoT devices and applications. The answer can also be no, because the OGC SensorThings API is developed based on the existing OGC Sensor Web Enablement (SWE) standards. The OGC SWE standards enable all types of sensors and actuators discoverable, accessible and re-usable via the Web. These standards have been widely implemented around the world. SWE standards, however, are as complex as necessary to support tasks such as controlling Earth imaging satellites and archiving national libraries of geological observation data, and thus are, too "heavyweight" for the resource-constrained IoT applications. The OGC SensorThings API can be considered as a lightweight SWE profile suited particularly for IoT applications. As a result, the OGC SensorThings API is a new and efficient API based on the proven and widely implemented SWE standard framework.

About

The official web site of the OGC SensorThings API standard specification.

Resources

Stars

Watchers

Forks

Packages

No packages published