Skip to content
Find out which roads to avoid in winter weather. A maps mashup. Put together at the @boxuk "For the Social Good" hackday (Nov 2011) by @voxmjw, @whitehankey, and @martinjc.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Which roads in the UK are prone to accidents due to winter weather? Gritly is a simple Google Maps mashup that displays the locations of road traffic accidents where conditions were icy or snowy. Data is taken from the UK government Road Accidents and Safety dataset, freely available at
Gritly also takes live information on road hazards and incidents from Twitter. Tweets in the form "#ukfreeze POSTCODE DESCRIPTION" are displayed at the corresponding location on the map.


Requires a SQLite3 database file containing a Road Accidents and Safety dataset. The dataset (in CSV format) can be found at . An example database file (datasets_db.db) is provided to indicate the expected schema. All fields present in the CSV files are in the database schema, with the addition of a 'datetime' for the combined date and time.

Required packages: tweepy, geopy.


Built in under 10 hours at the November 2011 Box UK "For the social good" Hack Day ( by:
Mark Greenwood (@whitehankey)
Martin Chorley (@martinjc)
Matt Williams (@voxmjw)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.