1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang...

29
1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007

Transcript of 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang...

Page 1: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

1

A Google-Map-Based Arterial Traffic Information (GATI) System

Authors: Yao-Jan Wu

Dr. Yinhai Wang

Dr. Dalin Qian

Date: 10/03/2007

Page 2: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

2

Outline

Introduction System Architecture Database Design Implementation Conclusion and Future work

Page 3: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

3

Introduction System Architecture Database Design Implementation Conclusion and Future work

Page 4: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

4

Web Based Traffic Information System

• Washington State Department of Transportation– Puget Sound Traffic Flow Map

Page 5: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

5

Google-based Traffic Information System

• Seymour, E.J. Miller, B.(2007). Google-Based Mapping System for Traffic Management Center Web Navigation, TRB – http://daltrans.org/

Page 6: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

6

 Arterial Traffic Information System

• Bellevue Real-Time Traffic Map – Not in right scale– Less interactive– Research?

Source: http://www.ci.bellevue.wa.us/

Page 7: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

7

Introduction System Architecture Database Design Implementation Conclusion and Future work

Page 8: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

8

System Architecture

HTTPWeb Brower

Web Brower

Web Brower

Apache Web ServerMySQL Server

HTTP

HTTP

Data Server in the City of Bellevue

FTP

Client Side

Javascript

XHTML

CSS

XML

Server Side

PHP

STAR Lab

Page 9: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

9

Introduction System Architecture Database Design

Traffic Data from the City of Bellevue Pre-process

Implementation Conclusion and Future work

Page 10: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

10

Traffic Data from the City of Bellevue

• The city of Bellevue [Liang, 2006]

– 177 signalized intersections– More than 840 advance detector– Around 465 links (varied).

Page 11: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

11

Pre-process

• Locate all intersections (nodes)

• Build up link-intersection relation table

• Import Data into Database– Link Data– Intersection Data– Traffic Data

Page 12: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

12

Traffic Data

• All link data– One minute update file (with all the links for

the flow map)– Filename name: 0607121314.csv

Link #

Link ID

Smooth Volume

Smooth Occupancy

Cycle length

Plan # running

Color code

Incident code

Page 13: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

13

All link data

• Link description– Fxxxddmn (e.g. F001EBT1)– xxx= Intersection #– dd= Direction (EB, WB, NB, SB)– m= Movement: (L)eft, (T)hru, (R)ight – n= # of lanes

Link #

Link ID

Smooth Volume

Smooth Occupancy

Cycle length

Plan # running

Color code

Incident code

Page 14: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

14

All link data

Date

Weekday

Time

Link ID

Link Description

volume

Occupancy

Volume+K

Cycle length

Plan#

Color code

• Color code [Liang, 2006]– 1,2=green (light)– 3=yellow (Moderate)– 4=red (Heavy)– 5=black (Severe)– 0=gray (No data)

Page 15: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

15

Locate all intersections

• Saving Data with GXmlHttp (Ajax!)

• Do it manually with reference to the Map of Signalized Intersection

Page 16: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

16

Page 17: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

17

All Intersections

Page 18: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

18

Build up link-intersection relation table

• Do it manually with reference to the Map of Signalized Intersection

Link #

Link ID

Smooth Volume

Smooth Occupancy

Cycle length

Plan # running

Color code

Incident code

Page 19: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

19

Database

• Three tables have to be built in MySQL database– Traffic data table– Link Data table– Link_Intersection table

Page 20: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

20

Relationships among tables

Link&Intersection Relationship Table (Link_Intersection)

Traffic Data Table (all_link_jan07)

Join(2)

Join (1)

Page 21: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

21

Introduction System Architecture Database Design Implementation Conclusion and Future work

Page 22: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

22

Interface

Page 23: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

23

User Interface (Browsers)

System Server (STAR Lab)

FTP Data Server (City of Bellevue)

FTP Downloader (written by C#)

Javascript Interpreter/ AjaxGoogle MapsEngine

MySQLDatabase

XML files

XML files

XML files

PHP Interpreter

FTPXML filesXML filesReal-time traffic data (CSV file)

Display User Input

Flowchart

Page 24: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

24

FTP Downloader

• Functions– Data Downloading– Generate real-time

XML data– Update database– Archive data feeds

User Interface (Browsers)

System Server (STAR Lab)

FTP Data Server (City of Bellevue)

FTP Downloader (written by C#)

Javascript Interpreter/ AjaxGoogle MapsEngine

MySQLDatabase

XML files

XML files

XML files

PHP Interpreter

FTPXML filesXML filesReal-time traffic data (CSV file)

Display User Input

HTTPWeb Brower

Web Brower

Web Brower

Apache Web ServerMySQL Server

HTTP

HTTP

Data Server in the City of Bellevue

FTP

Client Side

Javascript

XHTML

CSS

XML

Server Side

PHP

Page 25: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

25

Traffic Flow Map

Page 26: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

26

Conclusion and Future Work

• Conclusion– Low cost (MySQL, Apache server, PHP, etc)– Easy to implement

• Future work– More traffic information can be shown– Analytical tools

• Versatile Query Real-time evaluation (Arterial, network) functions

Page 27: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

27

More Info

• STAR Lab (http://www.uwstarlab.org/)

Page 28: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

28

2008 TRB Annual Meeting Washington D.C.

• GATI Ver.2Scatter Plot Analysis Tool

Time-Domain Analysis Tool

Main Interface

Page 29: 1 A Google-Map-Based Arterial Traffic Information (GATI) System Authors: Yao-Jan Wu Dr. Yinhai Wang Dr. Dalin Qian Date: 10/03/2007.

29

Questions?

[email protected]