Group 16: Web App for Merging Traffic Data

Abstract

Every day, thousands of drivers utilize highways and interstates covering the vast corners of Virginia. At Virginia Tech, many faculty, staff, and students, both undergraduate and graduate, rely on these roads for daily commutes. Due to the length and frequency of use of these road segments, crashes are common and often place individuals in harmful situations.

Crash prediction models can be instrumental in reducing risk, but their effectiveness relies on the availability of clean, well-structured datasets. This project introduces a web-based application that enables users to upload three different traffic-related datasets—Linear Referencing System (LRS), Average Daily Traffic (ADT), and crash reports—and merge them based on the spatial geometry of roads and crash locations. The merged data is then visualized on an interactive map, allowing users to explore crash-prone areas with year-based filtering.

The system is built using PostgreSQL with PostGIS, Flask, and GeoPandas, and it supports spatial joins, geometric filtering, and dataset export. By providing tools for dataset creation and visualization, this application aids both researchers and drivers in making informed, data-driven decisions about road safety and travel planning. With this goal, hopefully driving will become safer for all throughout the entire state of Virginia.

Description

As mentioned in the abstract, our project was created in order to provide its users the functionality of merging three datasets: road structure, traffic data, and crash data. Generally, these datasets are merged based on their latitude and longitude coordinates. The intended output is to gives users a visual representation of the interstate network in Virginia by its geometry, providing details for average daily traffic and crashes along its road.

Keywords

Web Application, Databases, Traffic, Merging, Road Network

Citation