upfrontsoftware / izinto-angular

0 stars 0 forks source link

GIS Map: Allow Query per Pin (and its popup) #187

Open GronumSmith opened 4 years ago

GronumSmith commented 4 years ago

With many types of sensors and parameters it would be ideal if one could run a query per pin (and its popup). But there is obviously also huge advantage of having a single query for a whole GIS map/dashboard. nice if all installations are of same type.

Would it be possible to have both options? e.g. on a pin one can select which Query should be applied, but then the script that then determines the display is currently tailored to follow the dashboard query.

It is a bit complex :-(

See also issue 186

rochecompaan commented 4 years ago

@GronumSmith I'm not sure I understand what you mean. Do you only want to display a single installation on the map?

GronumSmith commented 4 years ago

NOTE: THIS IS A LONGER TERM NEED AND WAS NOT SPECIFIED IN THE ORIGINAL FOR PINS/POPUPS ON GIS MAP 1) At the moment a query replies data (e.g. temp/humidity) for many installations e.g. Weather Stations 2) We have some installations where e.g. some are weather stations, some are solar radiation, some are soil probes with multiple sensors at different depths. The question is how for a site (e.g. Mount Ceder) you can view all installations on the same GIS map ? or one has to keep them separate, eg. weather stations/temp/humidity sessors on GIS map, and Soil Moisture on another MAP.

But maybe this can al ready be achieved by multiple queries which will result is different types of pins/and their popups.

rochecompaan commented 4 years ago

@GronumSmith I'm still not quite understanding what you require. You ask "The question is how for a site (e.g. Mount Ceder) you can view all installations on the same GIS map", but the current map example already shows multiple installations for a given site.

GronumSmith commented 3 years ago

@rochecompaan. The current query and script assumes all Installations at a site are of the same type i.e. weather stations. So the implementation for our weather station needs is probably fine. NOTE: Enhancement! This issue highlights the fact that for a certain Site/Client there might be many types of Installations (Weather Station, T&H only, Soil probes, water depth, pressure, flow etc.) So for a flexible solution I can imagine a way where all pin(s) and their popup(s) are each specified separately, maybe different Queries for each and also then in the Script each Installation has its own Pin and Popup. image

The current implementation is focused on the automatic creation of pins for all installations under a certain site. very good for that scenario.

Maybe we should discuss.