Skip to content

davidherbert2/sensor-placement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sensor placement platform - early demonstrator

This is a demonstrator of the current state of the NU Urban Observatory, done as an interactive OpenLayers map. Several other layers from Newcastle City Council and The UK Office of National Statistics are also overlaid. These are served from an Amazon AWS instance named ndh114_gis_server. The purpose of the map is to bring together some of the key datasets for the Spatial Inequality and the Smart City project, PI Rachel Franklin.

This repository contains front-end JavaScript code, and is [built into a web bundle using Parcel according to this documentation](https://openlayers.org/en/latest/doc/tutorials/bundle.html. Additional libraries used:

ol-layerswitcher for the mouseover layer tree and bulma for some basic CSS classes

To build the project:

Pre-requisites

  1. Install node and npm
  2. Install Openlayers npm install ol
  3. Install parcel bundler npm install --save-dev parcel-bundler
  4. Install the OpenLayers layer switcher npm install --save ol-layerswitcher
  5. Install node-sass and bulma npm install --save-dev node-sass npm install --save-dev bulma

Build procedure

npm run css-build && npm run build

Will use parcel/node-sass etc to package up minified JS and CSS into the 'dist' directory, for direct copy to a server.

About

Front end support for UO sensor placement map, plus NCC data and other ONS datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages