We are extremely pleased to announce the launch of torontofirecalls.com in partnership with the Toronto Professional Firefighters Association! In addition to being an internal tool for Toronto Firefighters, the application will give the Citizens of Toronto an accurate view of the types and volumes of calls that their Fire Service responds to.
This mobile-responsive web app was built to put an interesting, interactive GUI on the emergency incident data available from this City of Toronto website. The data source includes the category, location, dispatch time, alarm level, and responding apparatus for all current emergency incidents that Toronto Fire Services personnel are currently working at.
This data is scraped from the website at regular intervals and stored in our own database. A lookup is performed on the Google Geo-caching API v3 to find the latitude and longitude of the nearest intersection. Once this data is accumulated, two main views are presented to the end-user.
- Live Mode – a visual representation of the emergency incidents currently being worked at by TFS personnel. Updates automatically every 5 minutes with an asynchronous request for fresh JSON.
- History Mode – a historical search mode that allows the user to search by specifying the desired “Event types, Date Range, and Minimum Alarm Level”. Displays up to 1000 historical entries at a time.
We couldn’t be happier with the results, and we’d like to once again thank the Toronto Professional Firefighters Association for fully supporting this project and making it a reality.
A technical write up of the design and coding will be coming soon, so stay tuned!