Skip to content

Latest commit

 

History

History
67 lines (41 loc) · 2.73 KB

readme.md

File metadata and controls

67 lines (41 loc) · 2.73 KB

CityScopeJS Table Modules

This repo contains a few boilerplate examples for CityScopeJS table-tops in web/browser environment. Modules are designed to work best with CityScopeJS but should accept any cityIO data if properly structured.

Modules are built to represent:

  • CityScope grid retrieved from cityIO server on interval
  • Visual rep. of cityIO data feature [3d model, land use or other]
  • Analysis of grid+spatial data, such as: walkability, energy, mobility etc.

Requirements (for all modules):

  • nodejs (version 10 tested) (apt install nodejs), which include npm
  • parcel-bundler (npm install -g parcel-bundler)

CityScope MoCho: Mobility Choices Table Module

This is a project-specific table module. MoCho (short for "Mobility Choices") is a CityScope module focused on mobility choices and societal impacts. This tool helps predict the choices of mobility modes made at the individual level throughout the entire Boston Metro area.

Module is designed to work with CityScopeJS but should accept any cityIO data if properly structured.

Module is built to represent:

  • CityScope grid retrieved from cityIO server on interval
  • Visual rep. of cityIO data feature
  • Analysis of grid+spatial data, such as: walkability, energy, mobility etc.

Requirements:

  • nodejs (version 10 tested) (apt install nodejs), which include npm
  • parcel-bundler (npm install -g parcel-bundler)
  • This module is deployed to Github Pages [GH-Pages branch] using deploy2gh.sh.
    • create an empty ph-pages branch
    • deploy to gh-pages using the .sh

Walkability Module

This module include an html5 3D view of walkability of a zone: It converts 4x4 lego bricks color coded as this:

 "0000000000000000","1111111111111111","0000000011111111","1111111100000000"

into grid type "P","W",L,"G", respectively, and show these value as overlay on the map.


CityScopeJS Table-top Module - Vanilla Js & ES6

This is a boilerplate table module that reads cityIO data, parse it into visual grid and display it on a keystone-able div. It's meant for testing of your cityIO sent data and for further development.

Usage

  • Clone, build and run using parcel index.html
  • Add your cityIO endpoint table name after the URL http://your.domian.end.point/?__YOUR_TABLE_NAME__ to retrieve specific table instance
  • Use shift+z to start projection mapping functionality