Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 2 commits behind opendata-stuttgart:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
README.md
ghpages.js
package-lock.json
package.json
webpack.config.js
webpack.dev.js

README.md

Feinstaub Map

A new version of air quality map for the Luftdaten. You can find a here a Live Version.

Goals and ideas

  • visualise recent sensor data on a map
  • switch between sensor data (PM2.5, PM10, humidity data, ...)
  • visualization between Air Quality Index (AQI) and normal default levels
  • identify and add existing air quality data from external sources

Map application

The implementation makes use of various frameworks and is on ECMA 6 language level. Used frameworks are:

  • leaflet (mapping framework)
  • d3 (visualisation framework)
  • webpack is used for deployment

How to run

Installation

Requirements:

  • Node JS 10.15.x or higher
  • NPM should be version 6.9.x or higher

install all dependencies

cp src/js/config.js.dist src/js/config.js
npm install

Develop

start development server (http://127.0.0.1:8080/)

npm start

Publish

build all files needed to run on a webserver, files willl be compileed into dist/):

npm run build
npm run ghpages
You can’t perform that action at this time.