33
Geovelo, a route planner for bicycle Geovelo, a route planner for bicycle G. Sauvanet, E. eron, H. Baptiste Laboratoire d’Informatique Universit´ e Francois Rabelais Tours Polytech’Tours - D´ epartement Informatique 64, Avenue Jean Portalis 37200 Tours FRANCE 11 juillet 2010 G. Sauvanet, E. eron, H. Baptiste SotM 2010 - Girona 1

[SOTM10] Geovelo, a route planner for bicycle

Embed Size (px)

Citation preview

Page 1: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

G. Sauvanet, E. Neron, H. Baptiste

Laboratoire d’InformatiqueUniversite Francois Rabelais Tours

Polytech’Tours - Departement Informatique64, Avenue Jean Portalis

37200 ToursFRANCE

11 juillet 2010

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 1

Page 2: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Outline

1 Presentation

2 The Bi-Objective Shortest Path problemModeling a road networkMono-objective problemBi-objective problem

3 Conclusion

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 2

Page 3: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation

Context

PhD CIFRE LI/Association � Autour du Train � (March 2008)

� Autour du Train � : promoting alternative modes of travellike bicycle

Today : no route planner really adapted to the bicycle inFrance

Geovelo

available on 3 cities (Paris, Nantes, Tours)

Database : Postgresql/Postgis, OSM Data, Osmosis

Website : Cloudmade maps, Openlayers

Multi-objective routing engine

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 3

Page 4: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 4

Page 5: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 4

Page 6: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Outline

1 Presentation

2 The Bi-Objective Shortest Path problemModeling a road networkMono-objective problemBi-objective problem

3 Conclusion

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 5

Page 7: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Modeling a road network

Let G = (V ,A) be agraph with :

V the set ofnodes,

A the set of arcs,

the cost functiondistance : A→R+

insecurity : A→R+

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 6

Page 8: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Modeling a road network

Let G = (V ,A) be agraph with :

V the set ofnodes,

A the set of arcs,

the cost functiondistance : A→R+

insecurity : A→R+

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 6

Page 9: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Modeling a road network

Let G = (V ,A) be agraph with :

V the set ofnodes,

A the set of arcs,

the cost functiondistance : A→R+

insecurity : A→R+

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 6

Page 10: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Modeling a road network

Let G = (V ,A) be agraph with :

V the set ofnodes,

A the set of arcs,

the cost functiondistance : A→R+

insecurity : A→R+

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 6

Page 11: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Modeling a road network

Let G = (V ,A) be agraph with :

V the set ofnodes,

A the set of arcs,

the cost functiondistance : A→R+

insecurity : A→R+

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 6

Page 12: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the mono-objective problem

Mono-objective problem

Let us define :

a graph G ,

a start node s and a target node t.

Goal :

compute shortest path p linking s to t iemin

∑a∈p distance(a)

Experiments on a graph with 136 199 nodes and 345 267 arcs :

Dijkstra algorithm

average of 0.1 seconde on 100 routes.

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 7

Page 13: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the mono-objective problem

Mono-objective problem

Let us define :

a graph G ,

a start node s and a target node t.

Goal :

compute shortest path p linking s to t iemin

∑a∈p distance(a)

Experiments on a graph with 136 199 nodes and 345 267 arcs :

Dijkstra algorithm

average of 0.1 seconde on 100 routes.

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 7

Page 14: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the mono-objective problem

Mono-objective problem

Let us define :

a graph G ,

a start node s and a target node t.

Goal :

compute shortest path p linking s to t iemin

∑a∈p distance(a)

Experiments on a graph with 136 199 nodes and 345 267 arcs :

Dijkstra algorithm

average of 0.1 seconde on 100 routes.

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 7

Page 15: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

Bi-objective problem

2 objectives : minimize distance and insecurity

2 conflicting objectives⇒ shortest route is often adapted for the car, so it isdangerous for bicycle

Insecurity of a path = sum of the insecurity of each arc of thepath

Insecurity = distance . insecurity coefficient (inspired fromdangerous material transportation)

insecurity coefficient depends on the nature of an arc : bicyclepath, bike lane, no facilities, etc.

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 8

Page 16: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

Problem

Solving bi-objective shortest path problem is hard

Not an unique path, but a set of efficient paths

Example on Paris : > 500 efficient paths and computationtime > 1 minute

Basic solution

Transform bi-objective problem in mono-objective problem

Linear combination of distance and insecurity : new cost(a) =α.distance(a) + (1− α).insecurity(a)

⇒ fast and used by many (all ?) route planner, but not really good

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 9

Page 17: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 10

Page 18: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 10

Page 19: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 11

Page 20: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 12

Page 21: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 13

Page 22: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 14

Page 23: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 15

Page 24: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 25: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

new cost(a) = α1.distance(a) + (1− α1).insecurity(a)

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 26: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

new cost(a) = α1.distance(a) + (1− α1).insecurity(a)

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 27: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

new cost(a) = α2.distance(a) + (1− α2).insecurity(a)

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 28: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

new cost(a) = α2.distance(a) + (1− α2).insecurity(a)

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 29: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

new cost(a) = α3.distance(a) + (1− α3).insecurity(a)

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 30: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Presentation of the bi-objective problem

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 16

Page 31: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Research

Our research

1 Compute all efficient paths : improvements of labelingalgorithms for bi-objective problem [ROADEF 2009, MOPGP2010]

2 Compute the best compromise path : [ISCO 2010, JMMA2010]

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 17

Page 32: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Outline

1 Presentation

2 The Bi-Objective Shortest Path problemModeling a road networkMono-objective problemBi-objective problem

3 Conclusion

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 18

Page 33: [SOTM10] Geovelo, a route planner for bicycle

Geovelo, a route planner for bicycle

Conclusion

Conclusion :

Prototype works (http://www.geovelo.fr).

Further work :

user feedback on OSM data

Test with more objectives (effort, tourist Interest...)

Mobile version

Let user set preferences of the routing engine

G. Sauvanet, E. Neron, H. Baptiste SotM 2010 - Girona 19