Daniel-Salas481 / CSE412-Traffic-Accident-Project

Visualizing traffic accidents for Washington County / Clackamas County OR between 2014 and 2016

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSE412 Traffic Accidents

Overview

Synopsis:

The goal of this project was to provide a way to visualize traffic accidents within the Washington and Clackamas counties in Oregon. This map has a heatmap overlay of every traffic accident incident, injury or non-injury, between the years 2014 and 2016. This allows the user to view hot spots in both counties, identify problematic intersections, and locate fire stations which are placed appropriately around the counties with relation to traffic accident incidents. This data was provided by the Washington County Consolidated Communications Agency (WCCCA).

This was created during Fall 2021 as the semester project for Dr. Jia Zou's Database Management (CSE412) course at Arizona State University.

Contents:

Prerequisites:

PostgreSQL >= 12.9

PHP >= 8.0

Features:

  • Dynamically generated heatmap
  • Heatmap filtering by area, date, or both
  • Data table of mapped incidents with units assigned
  • Adjustable heatmap extrema and radius

Installation:

  1. Create a Postgres database
  2. Import the provided database in Database/psql_database.backup This can be done with this by running pg_restore in the root direcotry of the project ex. pg_restore --dbname=dbname --verbose backup/psql_database.backup
  3. Copy config.php.example to config.php, open it, and edit the database connection configuration.

Misc. Images:

Filter Page

Settings Settings

Data View Page

Data View

Settings Page

Data View

Credits:

About

Visualizing traffic accidents for Washington County / Clackamas County OR between 2014 and 2016

License:GNU General Public License v2.0


Languages

Language:CSS 59.0%Language:JavaScript 29.4%Language:HTML 8.3%Language:PHP 3.3%