-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensor things Data Provider, pt 1 #55840
Conversation
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
3e5a801
to
efb77a0
Compare
Clicking this queries the backend for available types, taking the guesswork out of selecting the geometry type
It's not clear whether passing multiple filter parameters is actually supported by the standard, so play it safe and combine filters using 'and' instead
This is part 1 of a native data provider implementation for the OGC SensorThings API.
See qgis/QGIS-Enhancement-Proposals#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:
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:
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: