Skip to content
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

[sensorthings] Support feature expansion (Request in QGIS) #9107

Open
qgis-bot opened this issue May 16, 2024 · 0 comments
Open

[sensorthings] Support feature expansion (Request in QGIS) #9107

qgis-bot opened this issue May 16, 2024 · 0 comments
Labels
3.38 QGIS 3.38 new features
Milestone

Comments

@qgis-bot
Copy link
Collaborator

Request for documentation

From pull request qgis/QGIS#56960
Author: @nyalldawson
QGIS version: 3.38

[sensorthings] Support feature expansion

PR Description:

This change allows SensorThings entities to be expanded to contain their related child feature attributes, exposing the relational SensorThings model as a traditional "flat" GIS-friendly table structure.

Eg when selecting Location entities, you can now opt to expand to "Things > Datastreams > Observations". This would result in multiple "stacked" point location features, one corresponding to each observation, with the attributes for each point feature containing the location, thing, datastream and observation attributes.

Best used combined with some extent, feature limit, or custom filter option, as this can otherwise result in very heavy
requests to the backend service! There's also an option to limit then number of child features returned when expanding, and we default to a very conservative amount here in order to reduce load on services. (I.e. users need to explicitly "opt in" to fetch large amounts of features)

Peek 2024-03-25 15-47

Here's an example of a feature returned when the expansion option out to "Location > Thing > Datastream" is used. Note how the "Thing" and "Thing_Datastream" attributes are appended on to the base "Location" attributes:

image

Fixes qgis/QGIS#56805

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

@DelazJ DelazJ added the 3.38 QGIS 3.38 new features label May 21, 2024
@DelazJ DelazJ added this to the QGIS 3.40 milestone May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.38 QGIS 3.38 new features
Projects
None yet
Development

No branches or pull requests

2 participants