SafeCity is a GIS-based application designed to improve urban safety by mapping and visualizing dangerous areas in Toronto based on incidents reported in 2023. Leveraging Geographic Information Systems (GIS) technology, SafeCity provides real-time information on high-risk zones, enabling users to make informed decisions about their routes and locations. By highlighting areas prone to crime and other incidents, SafeCity empowers users to navigate the city more safely.
- Visualizes Points of Interest (POIs) in major cities.
- Displays 2023 crime incidents in Toronto sourced from the Toronto Police Service CSV.
- Shows real-time traffic incidents via the TomTom traffic API.
- Clicking on map elements opens a sidebar with incident details such as type, date, and neighborhood.
- Analyzes incident concentration on the map.
- Adjusts map elements dynamically based on zoom level for improved visibility.
- Efficient route planning considering travel time and street turn penalties.
- Process:
- Initialize: Create a graph.
- Explore: Traverse legally connected intersections.
- Evaluate: Determine if the destination is reached or calculate the cost.
- Return: Backtrack and return the path if it exists.
- Path Finding Demo:
- Result:
- Identifies safer routes by minimizing the number of incidents along the path.
- Allows users to select optimal paths for multiple destinations
- Process:
- Create Matrix: Establish intersections.
- Run Random Greedy Route: Execute 2000 iterations of the greedy route algorithm.
- Select Optimal Route: Identify the lowest-cost route from the greedy route results.
- Identify Depot: Determine the depot with the lowest associated cost.
- Result:
- Facilitates safer navigation for users by avoiding dangerous areas and highlighting safe zones.
- Mitigates safety concerns by offering insights into incident patterns within urban settings.
- Improves navigation efficiency and fosters city-wide safety awareness.
- Incident data may not be truly real-time due to API delivery delays.
- The types of incidents may not always clearly convey the actual situation or events occurring at the location.
- Crime rates can be skewed in densely populated areas, failing to accurately reflect crime rates per capita.
- Integrate GIS with social media for real-time incident reporting.
- Enable users to report incidents using various media types: text, photos, and videos.
- Calculate crime rates per capita for precise insights and visualize them on a gradient map.