Uk traffic accident data for 2015, visualised
yochannah.github.io
Uk traffic accident data for 2015, visualised
1–7 of 7 posts
Re: Uk traffic accident data for 2015, visualised
#2Sloppy source here: https://github.com/yochannah/trafficuk
Uses firebase for data loading and initial project scaffolding, google's geocoding api for location search, a couple of icomoon icons for markers.
Known thing: performance is a nightmare in London. Not sure how to handle the heavy traffic problems in london, so I'm defaulting to a really close zoom. Doesn't seem too problematic in the rest of the country.
Tested in chrome and ff on a macbook pro - would welcome feedback from other oses/browsers.
Re: Uk traffic accident data for 2015, visualised
#3Nervous first post, probably mostly of interest to UK dwellers. This tool allows you to type in a UK place name and view traffic accidents in the area using the most recent data available from the UK government. Sloppy source here: https://github.com/yochannah/trafficuk Uses firebase for data loading and initial project scaffolding, google's geocoding api for location search, a couple of icomoon icons for markers. Kn…
Good luck.
Re: Uk traffic accident data for 2015, visualised
#4Nervous first post, probably mostly of interest to UK dwellers. This tool allows you to type in a UK place name and view traffic accidents in the area using the most recent data available from the UK government. Sloppy source here: https://github.com/yochannah/trafficuk Uses firebase for data loading and initial project scaffolding, google's geocoding api for location search, a couple of icomoon icons for markers. Kn…
Re: Uk traffic accident data for 2015, visualised
#5Nervous first post, probably mostly of interest to UK dwellers. This tool allows you to type in a UK place name and view traffic accidents in the area using the most recent data available from the UK government. Sloppy source here: https://github.com/yochannah/trafficuk Uses firebase for data loading and initial project scaffolding, google's geocoding api for location search, a couple of icomoon icons for markers. Kn…
The density/zoom concern might be addressed by some sort of geospatial aggregation...roughly the equivalent to indexes on a database...a 'denormalization'. Certainly an interesting problem for any online mapping app. Good luck.
Re: Uk traffic accident data for 2015, visualised
#6Earlier quoted context omitted.
The density/zoom concern might be addressed by some sort of geospatial aggregation...roughly the equivalent to indexes on a database...a 'denormalization'. Certainly an interesting problem for any online mapping app. Good luck.
That's a good idea, thanks! I was lying in bed thinking about this last night, as you do. MGRS coordinates might work well here: https://en.wikipedia.org/wiki/Military_grid_reference_system for higher zoom levels, then heatmap colour the grid 'squares' with an aggregate sum of accidents, and only add lat/long markers when I get to closer zoom.
Re: Uk traffic accident data for 2015, visualised
#7Earlier quoted context omitted.
The density/zoom concern might be addressed by some sort of geospatial aggregation...roughly the equivalent to indexes on a database...a 'denormalization'. Certainly an interesting problem for any online mapping app. Good luck.
That's a good idea, thanks! I was lying in bed thinking about this last night, as you do. MGRS coordinates might work well here: https://en.wikipedia.org/wiki/Military_grid_reference_system for higher zoom levels, then heatmap colour the grid 'squares' with an aggregate sum of accidents, and only add lat/long markers when I get to closer zoom.