AirBreak-UIA / SensorThingsAPI_QGIS-plugin

Plugin enabling QGIS software (www.qgis.org) to access dynamic data from sensors, using SensorThings API protocol (https://www.ogc.org/standards/sensorthings)
Other
8 stars 4 forks source link

SensorThingsAPI QGIS plugin

The SensorThings API plugin for QGIS has been developed by Deda Next (former Dedagroup Public Services, https://www.dedanext.it/) within the AIR-BREAK project (co-funded by UIA program, https://www.uia-initiative.eu/en/uia-cities/ferrara).

The plugin enables QGIS software (www.qgis.org) to access dynamic data from sensors, using SensorThings API protocol (https://www.ogc.org/standards/sensorthings)

The overall objective is to provide functionalities for accessing SensorThings API endpoints and interact with temporal data (timeseries).

Hereafter, you find "how-to" instructions for using the SensorThingsAPI plugin in QGIS.

To correctly download the plugin from this repository as zip file, please see Issue https://github.com/AirBreak-UIA/SensorThingsAPI_QGIS-plugin/issues/1

Please, consider that Pandas libraries is required for running the plugin

1) Once installed (as local zip file), the user interface shows a simple menu and a toolbar with two commands:

Note: the following screenshots show the user interface in Italian.

SensorThingsAPI menu

2) The command Upload 'SensorThingsAPI' layer from remote server allows to add the Locations of a SensorThings endpoint as a geographical layer; in the popup window, select the button New and write the name and the URL of the endpoint to connect to:

New SensorThingsAPI endpoint

To test the plugin, the following endpoints can be configured:

... other public endpoints also available at https://github.com/opengeospatial/sensorthings/blob/master/PublicEndPoints.md

Click the Connect button to list all the locations available and optionally filter them using their own properties; select one or more items and clic the button Add (or double clic).

List of Locations (grouped by properties)

... once selected the Locations to be added in the map, you will see something like this:

Map with Locations from SensorThings server

3) the command "Show location information" opens a new popup window to query a single location; when the location is clicked on the map, the popup appears with the list of Datastreams (measured parameter) available:

Show location information

4) by clicking on the right-side button, user has the possibility to access timeseries (observations) for each parameter and get data in either tabular or chart formats, with the possibility to change temporal filter (dates from/to):

Data table

5) User can also download data (bottom-right icon) in CSV format and elaborate them in spreadsheets or other software:

Data chart and download