Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 8 commits ahead, 10 commits behind pjgueno:master.
Latest commit e9b95f8 Jul 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update style.css Jul 14, 2019
.gitignore config.js.dist file added Apr 21, 2019
.travis.yml Update .travis.yml Apr 27, 2019
README.md Add full path for config files Jul 1, 2019
ghpages.js building and publishing to ghpages addes Apr 1, 2019
package-lock.json fetch via Promise, moved to extra file Apr 29, 2019
package.json
webpack.config.js adding empty robots.txt May 18, 2019
webpack.dev.js Update webpack.dev.js Jun 12, 2019

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.