https://github.com/tmcw/myland
Scraping and displaying TrafficLand data.
https://github.com/tmcw/myland
Last synced: 5 months ago
JSON representation
Scraping and displaying TrafficLand data.
- Host: GitHub
- URL: https://github.com/tmcw/myland
- Owner: tmcw
- Created: 2014-05-15T02:38:20.000Z (about 12 years ago)
- Default Branch: gh-pages
- Last Pushed: 2017-04-10T21:13:59.000Z (over 9 years ago)
- Last Synced: 2025-06-13T16:10:08.164Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 20.5 MB
- Stars: 13
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myland

Scraping and displaying [TrafficLand](http://www.trafficland.com/) data.
TrafficLand sets up [public-private partnerships](http://en.wikipedia.org/wiki/Public%E2%80%93private_partnership) with
local governments to use cameras on stoplights for traffic and other sorts
of tasks.
## Images
See [images on TrafficLand's site](http://trafficland.com/city/WAS/). The image
feeds have API-like URLs but require a key that's probably a timestamp combined
with some private key.
## Video
After grabbing stills as JPEG, generate videos with ffmpeg:
ffmpeg -i %06d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
## data
* `data.json` is the raw data processed from data.xml
* `cameras.geojson` is that data turned into geojson
## install
npm install
## run
node index.js