1 | = FOSS4G routing with pgRouting tools and OpenStreetMap road data = |
---|
2 | |
---|
3 | === Presenters: === |
---|
4 | * Claude Philipona ([http://www.camptocamp.com Camptocamp SA]) |
---|
5 | * Daniel Kastl ([http://www.orkney.co.jp Orkney, Inc.]) |
---|
6 | |
---|
7 | === Further authors: === |
---|
8 | * Frédéric Junod ([http://www.camptocamp.com Camptocamp SA]) |
---|
9 | * Anton Patrushev ([http://www.orkney.co.jp Orkney, Inc.]) |
---|
10 | |
---|
11 | |
---|
12 | == Abstract == |
---|
13 | |
---|
14 | pgRouting adds routing functionality to PostGIS. This introductory workshop |
---|
15 | will show you how. It gives a practical example of how to use pgRouting with |
---|
16 | OpenStreetMap road network data. It explains the steps to prepare the network |
---|
17 | data, make routing queries, assign costs to the network links and modify your |
---|
18 | results through wrapper functions. |
---|
19 | |
---|
20 | == Description == |
---|
21 | |
---|
22 | Navigation for road networks requires complex routing algorithms that support |
---|
23 | turn restrictions and even time-dependent attributes. pgRouting is an extendible |
---|
24 | open-source library that provides a variety of tools for shortest path search. |
---|
25 | The library in its current version is an extension of PostgreSQL and PostGIS. |
---|
26 | It's predecessor "pgDijkstra" was written by Sylvain Pasche from Camptocamp. |
---|
27 | It was then extended by Orkney (Japan) and renamed to pgRouting. |
---|
28 | |
---|
29 | An introduction will give an overview of the project history, development team, |
---|
30 | infrastructure, productive environments and scope of use. The workshop will |
---|
31 | explain about shortest path search with pgRouting in real road networks and how |
---|
32 | the data structure is important to get faster routing results. Also you will |
---|
33 | learn about difficulties and limitations of implementing pgRouting functionality |
---|
34 | in GIS applications. |
---|
35 | |
---|
36 | To give a practical example of how to perform shortest-path searches with |
---|
37 | pgRouting, the workshop makes use of OpenStreetMap road network data. The |
---|
38 | OpenStreetMap community creates their own road data that is freely available |
---|
39 | for a rapidly growing number of areas. We will use OpenStreetMap data of |
---|
40 | Capetown for this workshop. You will learn how to convert the data into the |
---|
41 | required format and how to calibrate the data with "cost" attributes. |
---|
42 | Furthermore we will explain the difference of the three main routing algorithms |
---|
43 | "Dijkstra", "A-Star" and "Shooting-Star". |
---|
44 | |
---|
45 | By the end of the workshop you will have a good understanding of how to use |
---|
46 | pgRouting and how to get your network data prepared. While similar to the last |
---|
47 | years workshop "Web-based Routing: An Introduction to pgRouting with |
---|
48 | OpenLayers", this year's pgRouting workshop will â in regard to the students |
---|
49 | feedback â focus on pgRouting itself and network data issues. OpenLayers map |
---|
50 | client will still be used to display the route on a map. |
---|
51 | |
---|
52 | Due to time limitation installation of pgRouting is not part of this workshop. |
---|
53 | An installation with pgRouting will be provided for you as well as the |
---|
54 | OpenStreetMap sample data for Capetown. |
---|
55 | |
---|
56 | == Workplace Access == |
---|
57 | |
---|
58 | * Download the compressed VMware image and extract the file |
---|
59 | {{{ |
---|
60 | http://files.postlbs.org/foss4g2008/ |
---|
61 | }}} |
---|
62 | * Start VM Player and load the workshop virtual machine |
---|
63 | * If root access is required, use |
---|
64 | {{{ |
---|
65 | username: foss4g |
---|
66 | password: foss4g |
---|
67 | }}} |
---|
68 | |
---|
69 | == Get the Source == |
---|
70 | |
---|
71 | * Checkout the latest workshop documentation, code samples and data from here: |
---|
72 | {{{ |
---|
73 | svn checkout http://pgrouting.postlbs.org/svn/pgrouting/branches/workshop/FOSS4G2008/ workshop |
---|
74 | }}} |
---|
75 | |
---|
76 | == Further informations == |
---|
77 | |
---|
78 | * pgRouting project website: http://pgrouting.postlbs.org |
---|
79 | * MapFish project website: http://www.mapfish.org |
---|