Skip to content

Latest commit

 

History

History
90 lines (53 loc) · 3.87 KB

plot_video.md

File metadata and controls

90 lines (53 loc) · 3.87 KB

Introduction

Air pollution is a problem in cities all around the globe. Emissions from traffic, buildings, industry and various other sources can have adverse health effects. Nowaday, many countries are actively trying to counter such problems with regulations. An important step for counter-measures is the measurement of the actual air quality. For example, the European Union developed measurement protocols and thresholds, which should not be exceeded and where actions have to be taken by the governments.

One of the monitored pollutants is particulate matter: small particles that are taken up while breathing and have the ability to permeate into the bodies. The measurement and monitoring of such particles is usually done only at a few sites within the city, and there are significant delays until the measurement data is available publicly (implied by the official measurement protocol).

In Stuttgart, the station 'Neckartor' exhibits the highest measured concentrations within Germany.

Therefore a citizen science project was created to build up a sensor network for PM measurements. The sensors are maintained by citizens at locations within and around the city. Hardware for the sensors has been selected and software was written to distribute and monitor the measurements within the network. Currently the sensors are mounted at fixed locations and the data is gathered in a central database.

Goals and ideas

Within the challenge, two new components will be developed:

  • Mobile sensor: A GPS sensor will be added for measurements on-the-go
  • Visualisation: A map based visualisation of the most recent measurements

Additionally, the following topics could be of interest:

  • identify and add existing air quality data from external sources
  • visualize the track data on a map, too

Implementation

Mobile sensor

  • add GPS to existing sensor setup, see commit
  • enable push GPS data to Django API (changes for GPS measurements see commit) and/or via MQTT

Visualisation

This map visualisation was hacked during the NASA Space-Apps challenge 2016 https://2016.spaceappschallenge.org/locations/stuttgart-germany

The necessary steps were:

  • adapt the django API: request to get the latest measurement values
  • create a map visualisation based on the API inputs

Repository is located at https://github.com/opendata-stuttgart/feinstaub-map

Django API changes

mfa provided the changes to the API (see commit)

Map application

The map background is based on OpenStreetMap provided via mapbox. The application itself was created in JavaScript on top of a leaflet layer.

The implemetation makes use of various frameworks and is on ECMA6 language level. Used frameworks are:

30sec version

Air pollution is a problem in cities all around the globe.

One of the monitored air pollutants is particulate matter: small particles that we take up by breathing and that can be a threat to our health.

A citizen science project in Stuttgart builds up a sensor network for the monitoring in many locations.

In the challenge

  • the sensors will be updated with a GPS for mobile measurements.
  • and the current measurements are visualized on a map

technical, info about

Sozi (SVG in inkscape, similar to Prezi): https://github.com/senshu/Sozi/releases/tag/16.02-fix344