mapping city wide travel times

28
Mapping City Wide Travel Times Andrew Hardin

Upload: jovan

Post on 24-Feb-2016

22 views

Category:

Documents


0 download

DESCRIPTION

Mapping City Wide Travel Times. Andrew Hardin. Project Goal. Encouraging alternate transportation NYC- Bike Share Boulder’s Transportation Management Why? Is using public transit and walking efficient ? in terms of time?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Mapping City Wide Travel Times

Mapping City Wide Travel Times

Andrew Hardin

Page 2: Mapping City Wide Travel Times

Project Goal• Encouraging alternate transportation– NYC- Bike Share– Boulder’s Transportation Management–Why?

• Is using public transit and walking efficient?– in terms of time?

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imulat ion \ conc lus ions

Page 3: Mapping City Wide Travel Times

Go to http://Iskander/TravelTime/

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imulat ion \ conc lus ions

Page 4: Mapping City Wide Travel Times

GIS Side

i n t ro \ demo \ g i s s ide \ da ta \ p reprocess ing \ s imula t ion \ conc lus ions

Data

Preprocessing

Simulation

vs.

web sidenetwork side

Page 5: Mapping City Wide Travel Times

Data: GTFS• GTFS = “General Transit Feed

Specification”.

• Describes transit routes, stops, times, etc.

• Google Maps Routing

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Page 6: Mapping City Wide Travel Times

Data: OSM• OSM = “Open Street Map”.

• “Crowd Sourced”, open source map data.

• Downloaded as plain text.

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Page 7: Mapping City Wide Travel Times

Why OSM?

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Source: Boulder County Source: OSM

Page 8: Mapping City Wide Travel Times

Preprocessing OSM• Convert text to a raster grid that

represents the friction of distance.– Theory: it’s easier to walk on / near

streets.

1. Extract OSM paths.2. Rasterize.3. Skeletonize.4. Transform with smoothstep

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

Page 9: Mapping City Wide Travel Times

1. Extract Paths• OSM contains different types of

paths.

• Extract all the “highways”, including– Highways– Residential streets– Bike paths– Sidewalks–…

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

Page 10: Mapping City Wide Travel Times

2. Rasterize

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

• Convert the vector paths into a tessellation.

Page 11: Mapping City Wide Travel Times

2. Rasterize

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

• Convert the vector paths into a tessellation.

* intersects * Brensenham’s Line Algorithm

Page 12: Mapping City Wide Travel Times

3. Skeletonize• Goal: get distance (in tiles) from

nearest path.– Also called “Medial Axis Transformation”.

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

00000

0

01111

0

01111

0

01111

0

01111

0

00000

0

01111

00 1 1 1 1 01

00000

0

01111

0

01222

0

01222

0

01222

0

00000

0

01111

00 1 1 1 1 01

00000

0

01111

0

01222

0

01232

0

01222

0

00000

0

01111

00 1 1 1 1 01

Step 1: Fill raster 1s. Set roads to 0.

Iterate: For each cell, set its value equal to the minimum of its neighbours + 1.

Page 13: Mapping City Wide Travel Times

4. Transform w/ smoothstep• Goal: Convert distance from road (in

tiles) to factors of friction.– It takes x times longer to cross this cell.

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

3

1

Distance from nearest path (m)0 75

Frict

ion

smoothstep function

Page 14: Mapping City Wide Travel Times

Preprocessing: Micro Scale

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

OSM Paths Rasterize Skeletonize Smoothstep

0 10 1 3x

Page 15: Mapping City Wide Travel Times

Preprocessing: Micro Scale

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

OSM Paths Rasterize Skeletonize Smoothstep

0 10 1 3x

Page 16: Mapping City Wide Travel Times

Preprocessing: Square (macro)

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

OSM Paths Rasterize Skeletonize Smoothstep

1 3x

Page 17: Mapping City Wide Travel Times

Preprocessing: Hexagon (macro)

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

OSM Paths Rasterize Skeletonize Smoothstep

1 3x

Page 18: Mapping City Wide Travel Times

Preprocessing: Hexagon (macro)

i n t ro \ demo \ g i s s ide \ data \ preprocess ing \ s imula t ion \ conc lus ions

OSM Paths Rasterize Skeletonize Smoothstep

1 3x

Page 19: Mapping City Wide Travel Times

Simulation Parameters

1. City? (Boulder ,CO)

2. Where? (latitude, longitude)

3. When? (December 1, 2013 at 2:30

PM)

4. Grid Type? (square or hexagon)

5. Walking Speed? (3.1 m/s)

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Page 20: Mapping City Wide Travel Times

Simulation Steps1. Construct a connected graph of

nodes from our smoothstep grid.

Page 21: Mapping City Wide Travel Times

Grid to Graph

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

* Queen Contiguity

Node

Link

Smoothstep

Page 22: Mapping City Wide Travel Times

Grid to Graph (hex)

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Node

Link

Smoothstep

Page 23: Mapping City Wide Travel Times

Simulation Steps2. Given a starting node, walk across

the graph finding the fastest path to each node.

Weight or CostTime = friction * walking speed

Page 24: Mapping City Wide Travel Times

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Constant Cost Friction Cost + Public Transit

Page 25: Mapping City Wide Travel Times

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imula t ion \ conc lus ions

Constant Cost Friction Cost + Public Transit

Page 26: Mapping City Wide Travel Times

• (Static Differences)

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imulat ion \ conc lus ions

(Hexagons - Squares)SquaresHexagons

Page 27: Mapping City Wide Travel Times

Hexagons vs. Squares• Computing Cost– Hexagons: 2.5 times longer – Visualization

• Simulation Differences– Preprocessing– Contiguity

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imulat ion \ conc lus ions

Page 28: Mapping City Wide Travel Times

Wrap-up• Alternate forms of transportation– Is public transit and walking efficient?

-in terms of time?

i n t ro \ demo \ g i s s ide \ data \ p reprocess ing \ s imulat ion \ conc lus ions