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

FeatureRequest: Allow to use expand-Query-Parameter #6

Open mikedolx opened 7 months ago

mikedolx commented 7 months ago

Hi,

i'd like to ask if it would be difficult to implement a way to allow expanding ($expand) of things for each location?I figured out, that this is intentionally disabled by stripping any query parameter in the code. I tried to modify the plugin, by removing the lines in the provider_frost.py constructor, that strips the query parameter, but when i load the plugin in QGIS, the parameter are still stripped.

My intention is to be able to load data from the things attached to the location, so that i can use this data for queries and filtering in QGIS.

BR, Michael

AirBreak-UIA commented 7 months ago

Dear Michael, apologize for the delay of my reply and thanks a lot for you message. Indeed, we are already going in the direction you suggested: Faunaliahttps://www.faunalia.eu/en (Matteo Ghetta, here CCed) with DedaNexthttps://www.dedanext.it/ (me and my colleague Luca) and other QGIS main developers are working on a future version of SensorThings functionality in QGIS, based on this QEPhttps://github.com/qgis/QGIS-Enhancement-Proposals/issues/257, in the framework of a BRGMhttps://www.brgm.fr/en project. The idea is to have basic functionalities for accessing SensorThings endpoints (with $expand) already embedded in the core of QGIS, likewise other OGC standard protocols.

I guess in the upcoming months we will have the opportunity to test a draft version of that, to test before release.

I leave the floor to Matteo for any further details on that.

Piergiorgio Cipriano

Deda Next T +39.051.278.921 | M +39.335.1382692 Via Marco Emilio Lepido 178, 40132 Bologna https://www.dedanext.it/ www.linkedin.com/in/pgciprianohttp://www.linkedin.com/in/pgcipriano

[Deda Next]

Da: Michael @.> Inviato: martedì 30 gennaio 2024 15:35 A: AirBreak-UIA/SensorThingsAPI_QGIS-plugin @.> Cc: Subscribed @.***> Oggetto: [AirBreak-UIA/SensorThingsAPI_QGIS-plugin] FeatureRequest: Allow to use expand-Query-Parameter (Issue #6)

Non si ricevono spesso messaggi di posta elettronica da @.**@.>. Informazioni sul perché è importantehttps://aka.ms/LearnAboutSenderIdentification

ATTENZIONE: Questo messaggio proviene da un ACCOUNT ESTERNO, presta attenzione ad eventuali link o allegati al suo interno.

Hi,

i'd like to ask if it would be difficult to implement a way to allow expanding ($expand) of things for each location?I figured out, that this is intentionally disabled by stripping any query parameter in the code. I tried to modify the plugin, by removing the lines in the provider_frost.py constructor, that strips the query parameter, but when i load the plugin in QGIS, the parameter are still stripped.

My intention is to be able to load data from the things attached to the location, so that i can use this data for queries and filtering in QGIS.

BR, Michael

- Reply to this email directly, view it on GitHubhttps://github.com/AirBreak-UIA/SensorThingsAPI_QGIS-plugin/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2HNW53PDJUAKAJVOIX6HB3YREALBAVCNFSM6AAAAABCRLVFT6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDQMBRGQ4TGMQ. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>