TC4.10: Bubble charts on maps for Sensor Data

×

Warning message

  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.

In Snap4City dashboards, it is possible to show bubble charts in addition or alternative to pins, heatmaps, traffic flow, routing, cycling, gardens, and shapes in general, overlapped to your preferred orthomaps, etc.

The bubbles are typically of the same color of the selector item and the size is dynamically adapted to the value of the set of sensor values of the variable identified/selected.
The result is reported in the following figure for Rome City demonstration which is public accessible on: https://www.snap4city.org/dashboardSmartCity/view/index.php?iddasboard=MjcyNQ==

The activation of bubble shart functionality has to be performed on the Selector having a MultidataMap combo. For instance, please select environmental sensors, and then create the dashboard. Once you have created the dashboard and the selector please go into the MoreOptions of the Selector and set as follows, by changing the setting of the item for which you want to active the bubbles.

Please note that query for the selector can be automatically generated by the wizard together with the selector or can be produced by the ServiceMap getting it from email fro mthe small disk once you have performed the selection (as you may prefer). The results will be something similar to: https://servicemap.disit.org/WebAppGrafo/api/v1/?selection=41.6169823542308;11.9476318359375;42.14813264235833;13.034591674804688&categories=Air_quality_monitoring_station&format=json

Please note that queries performed via query ID model of Service Map do not work, since the dashboard builder need to parse and transform the query to add the bubbles. 

Then, go in the Bubble column and set YES and wait for the list of possible Bubble Metric (which are the Value_Names of the sensors of the selected devices).... select that of your interest and SAVE.
Job Completed !!!

Another more complex example: https://www.snap4city.org/dashboardSmartCity/view/index.php?iddasboard=Mjc0OA==

Another example with COVID-19 data: https://www.snap4city.org/dashboardSmartCity/view/index.php?iddasboard=MjU3NQ==

 

 

 

TC4.10: Bubble charts on maps for Sensor Data | Snap4City

Error

×

Error message

  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in og_field_access() (line 578 of /var/www/html/drupal/sites/default/modules/og/og.module).
  • Notice: Trying to get property of non-object in user_access() (line 806 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 818 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 819 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 825 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 828 of /var/www/html/drupal/modules/user/user.module).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/drupal/includes/bootstrap.inc).
  • Error: __clone method called on non-object in og_user_access_entity() (line 2249 of /var/www/html/drupal/sites/default/modules/og/og.module).
The website encountered an unexpected error. Please try again later.