View on GitHub

CV-BSM-Visualization

Visualizing roadway conditions over time in Google Earth using Basic Safety Messages.

Connected Vehicle Basic Safety Message (BSM) Visualization

This project is a Noblis Sponsored Research Project that provides an example of how to use anonymized Connected Vehicle (CV) Basic Safety Messages (BSM) in aggregate to visualize roadway conditions using Open Data provided by the United States Department of Transportation through the ITS Public Data Hub. The video below shows the visualization in Google Earth, with hypothetical vehicle trajectories representing traffic over a defined route every five minutes.

Visualization Example

The project creates hypothetical vehicle trajectories from the real BSMs data for analysis and visualize them in Google Earth to provide a complete holistic view of the traffic conditions in the area.

Table of Contents

I. Background

II. Problem

III. Solution

IV. Getting Started

V. Jupyter Notebooks

VI. Conduct Anaylsis

VII. Release_Notes

Background

The goal of this project is to promote the use of CV data by researchers by creating an example of how the data can be used and visualized to support measurements of the transportation system.

We encourage others to redo and modify this work to meet their own research needs and welcome your feedback and ideas. To reach us please Open an Issue

Problem

Many high resolution transportation data sources require data to be scrubbed of any identifiable information (location data, vehicle ids, speed, etc..) to protect user privacy before sharing that data with the public for research. This is true for connected vehicle data.

This data scrubbing can make it difficult for researchers that are working with the data to understand it because they cannot make direct correlations between the various data points. To resolve this issue, new methods need to be explored to analyze the data to still be able to conduct effective research without having identifiable information.

Solution

To solve this problems, the Noblis team modified the open source Connected Vehicle Data-Driven Measures Estimation Travel Time Algorithm to output the intermediate steps of the algorithm (the synthetic vehicle trajectories) rather than the travel time estimates. The algorithm was also modified to work with latitude/longitude points rather than VISSIM XY coordinates.

Using APIs from the ITS Public Data Hub and data.transportation.gov the code streams data from the Advanced Messaging Concept Development Basic Safety Message dataset. Noblis worked with approximately 165,000 BSM messages to produce new hypothetical vehicle trajectories based on the actual data.

With these new trajectories, Noblis was able to visualize traffic conditions including speeds and travel times for the full test period using Google Earth to see how traffic changed throughout the day. To provide a holistic view, Noblis mapped altitude as time increases, so that the viewer can quickly see how traffic dynamics changed over the time period.

Below are a set of interactive Jupyter notebooks coded in [Python] (https://www.python.org) that walk through the steps of how to download the time-filtered Basic Safety Messages, aggregate them into hypothetical vehicle trajectories, write the hypothetical vehicle trajectories to KML to be visualized in Google Earth and optionally creating additional network statistics as an overlay.

Getting Started

Jupyter Notebooks

Step 1 Downloading data and creating trajectories

Note: At this point users can conducted their own analysis or visualization of the data from the newly created trajectories

Step 2 Data visualization and Google Earth integration

Conduct Anaylsis

Release Notes