An open API service indexing awesome lists of open source software.

https://github.com/bbmoz/wandt

A live weather and traffic visualization of the most populated cities in the United States
https://github.com/bbmoz/wandt

Last synced: over 1 year ago
JSON representation

A live weather and traffic visualization of the most populated cities in the United States

Awesome Lists containing this project

README

          

![CodeShip Status](https://codeship.com/projects/ba260110-b61d-0132-8efb-127341985930/status?branch=master)

WandT: Weather and Traffic Live Map


Live weather and traffic visualization of the most populated cities in the United States

Setup Before Meteor


```bash
>> make setup # Install NPM TopoJSON and Gulp dependencies.
>> make map # Download, unzip, and convert the U.S. shapefile into TopoJSON.
```

Main Stack Actors


- Meteor (full-stack framework)
- Jasmine (unit and integration testing)
- Bower (client dependency management)
- D3.js (data visualization library) w/ TopoJSON

Main External Integrations


- Codeship (continuous integration) w/ Docker
- Kadira (performance monitoring)

External API's Used


- Bing Maps REST Services for traffic data (hourly)
- OpenWeatherMap Developers API for weather data (hourly)
- SBA Web Service API for coordinates

Compiled City Data Structure


```javascript
{
city: [string],
latitude: [number],
longitude: [number],
state: [string],
boundingBox: {
northLatitude: [number],
southLatitude: [number],
westLongitude: [number],
eastLongitude: [number]
},
trafficData: {
severityAvg: [number],
incidentTypesOrdered: [
{ type: "construction", val: [number] },
{ type: "miscellaneous", val: [number] },
{ type: "other news", val: [number] },
{ type: "mass transit", val: [number] },
{ type: "accident", val: [number] },
{ type: "congestion", val: [number] },
{ type: "planned event", val: [number] },
{ type: "road hazard", val: [number] },
{ type: "disabled vehicle", val: [number] },
{ type: "alert", val: [number] },
{ type: "weather", val: [number] },
]
},
weatherData: {
cloudPercent: [number],
description: [string],
humidityPercent: [number],
main: [string],
temperature: [number],
windSpeed: [number]
}
}
```

Cities Being Tracked


```javascript
cities: [
{ city: 'New York', state: 'NY' },
{ city: 'Los Angeles', state: 'CA' },
{ city: 'Chicago', state: 'IL' },
{ city: 'Houston', state: 'TX' },
{ city: 'Philadelphia', state: 'PA' },
{ city: 'Phoenix', state: 'AZ' },
{ city: 'San Antonio', state: 'TX' },
{ city: 'San Diego', state: 'CA' },
{ city: 'Dallas', state: 'TX' },
{ city: 'San Jose', state: 'CA' },
{ city: 'Austin', state: 'TX' },
{ city: 'Indianapolis', state: 'IN' },
{ city: 'Jacksonville', state: 'FL' },
{ city: 'San Francisco', state: 'CA' },
{ city: 'Columbus', state: 'OH' },
{ city: 'Charlotte', state: 'NC' },
{ city: 'Fort Worth', state: 'TX' },
{ city: 'Detroit', state: 'MI' },
{ city: 'El Paso', state: 'TX' },
{ city: 'Memphis', state: 'TN' },
{ city: 'Seattle', state: 'WA' },
{ city: 'Denver', state: 'CO' },
{ city: 'Washington', state: 'MD' }, // exception
{ city: 'Boston', state: 'MA' },
{ city: 'Nashville', state: 'TN' },
{ city: 'Baltimore', state: 'MD' },
{ city: 'Oklahoma City', state: 'OK' },
{ city: 'Louisville', state: 'KY' },
{ city: 'Portland', state: 'OR' },
{ city: 'Las Vegas', state: 'NV' },
{ city: 'Milwaukee', state: 'WI' },
{ city: 'Albuquerque', state: 'NM' },
{ city: 'Fresno', state: 'CA' },
{ city: 'Sacramento', state: 'CA' },
{ city: 'Long Beach', state: 'CA' },
{ city: 'Kansas City', state: 'MO' },
{ city: 'Mesa', state: 'AZ' },
{ city: 'Virginia Beach', state: 'VA' },
{ city: 'Atlanta', state: 'GA' },
{ city: 'Colorado Springs', state: 'CO' },
{ city: 'Omaha', state: 'NE' },
{ city: 'Raleigh', state: 'NC' },
{ city: 'Miami', state: 'FL' },
{ city: 'Oakland', state: 'CA' },
{ city: 'Minneapolis', state: 'MN' },
{ city: 'Tulsa', state: 'OK' },
{ city: 'Cleveland', state: 'OH' },
{ city: 'Wichita', state: 'KS' },
{ city: 'Arlington', state: 'TX' }
]
```

Latest Screenshot


April 19, 2015