qgis / QGIS-Documentation

QGIS Documentation
https://docs.qgis.org/latest
451 stars 675 forks source link

Sensor things Data Provider, pt 1 (Request in QGIS) #8866

Open qgis-bot opened 4 months ago

qgis-bot commented 4 months ago

Request for documentation

From pull request QGIS/qgis#55840 Author: @nyalldawson QGIS version: 3.36

Sensor things Data Provider, pt 1

PR Description:

This is part 1 of a native data provider implementation for the OGC SensorThings API.

See https://github.com/qgis/QGIS-Enhancement-Proposals/issues/257 for technical details

Introduced in this PR are:

Connection handling for SensorThings connections

These are exposed via data source manager and browser. Like other connection types (eg WMS) users can populate a set of frequently used connections for rapid access. I've used the modern approach we use for eg XYZ connections here, where the stored connection prepopulates all the connection settings BUT where users can easily modify these (or add ad-hoc connections) on a case by case basis:

image

image

Source widget implementation for configuring existing layer connections

I've added a source widget, so that users can modify the properties of an existing SensorThings layer in their projects WITHOUT having to add a new layer:

image

This is especially important for SensorThings layers as they tend towards an interactive source, where users will frequently modify filter configuration and other related settings.

Optimised data provider

The SensorThings data provider has been designed to provide the best possible user experience given what is available from the OGC SensorThings API standard. Some interesting things here are:

Future work

More work is coming, but this is the minimal PR I can submit which brings up the data provider in a functional way. Eg:

Commits tagged with [need-docs] or [FEATURE]

pvgenuchten commented 3 months ago

From the usage perspective it would be nice to have documented: