Skip to content

MurrayGroves/saferoute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For BrisHack 2024 (24 hour hackathon run by the Computer Science Society) the brief was "Health" - one of the categories was mental health and this was our take. If you're travelling by yourself (especially late at night), speed might not be the priority when it comes to getting home. You might prefer a slower route that routes you around a dangerous area.

Tech

We use networkx and osmnx for routing - using dijkstra's where the weights of each edge is a combination of time and also the number and severity of crimes where that was the closest edge.

Limitations

Currently there's no way of the user adjusting the weights. Also it only works in Bristol as that's the only place we have the data for.

Data Sources

Crime Data Streetlight Data