Suche senden
Hochladen
Shortest Path Search with pgRouting
•
1 gefällt mir
•
941 views
FOSS4G 2011
Folgen
Shortest Path Search with pgRouting by Daniel Kastl of GeoRepublic
Weniger lesen
Mehr lesen
Technologie
Business
Melden
Teilen
Melden
Teilen
1 von 55
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Shortest Path search for real road networks with pgRouting
Shortest Path search for real road networks with pgRouting
Daniel Kastl
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
Daniel Kastl
pgRouting 2.0 presentation 2013
pgRouting 2.0 presentation 2013
Daniel Kastl
MIMO Capacity and Duality Between MAC and BC
MIMO Capacity and Duality Between MAC and BC
Shristi Pradhan
Geohash in mapping applications
Geohash in mapping applications
Alex Tumanoff
Proof
Proof
thealanshow
Solving a “Transportation Planning” Problem through the Programming Language “C”
Solving a “Transportation Planning” Problem through the Programming Language “C”
Shahadat Hossain Shakil
Computer Graphics Practical
Computer Graphics Practical
Neha Sharma
Empfohlen
Shortest Path search for real road networks with pgRouting
Shortest Path search for real road networks with pgRouting
Daniel Kastl
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
Daniel Kastl
pgRouting 2.0 presentation 2013
pgRouting 2.0 presentation 2013
Daniel Kastl
MIMO Capacity and Duality Between MAC and BC
MIMO Capacity and Duality Between MAC and BC
Shristi Pradhan
Geohash in mapping applications
Geohash in mapping applications
Alex Tumanoff
Proof
Proof
thealanshow
Solving a “Transportation Planning” Problem through the Programming Language “C”
Solving a “Transportation Planning” Problem through the Programming Language “C”
Shahadat Hossain Shakil
Computer Graphics Practical
Computer Graphics Practical
Neha Sharma
C Graphics Functions
C Graphics Functions
SHAKOOR AB
Lecture on graphics
Lecture on graphics
Rafi_Dar
Presentation 2(power point presentation) dis2016
Presentation 2(power point presentation) dis2016
Daniel Omunting
Introduction to graphics programming in c
Introduction to graphics programming in c
baabtra.com - No. 1 supplier of quality freshers
7 latest rangka penyelesaian
7 latest rangka penyelesaian
Norelyana Ali
(Full MatLab Code) Image compression DCT
(Full MatLab Code) Image compression DCT
Chaudhary Sarimurrab
Test
Test
Kinni MEW
Graphics in C programming
Graphics in C programming
Kamal Acharya
Calculus II - 33
Calculus II - 33
David Mao
Unit 11. Graphics
Unit 11. Graphics
Ashim Lamichhane
Calculus II - 32
Calculus II - 32
David Mao
Computer graphics
Computer graphics
amitsarda3
Transportation Problems-Maximum Profit
Transportation Problems-Maximum Profit
DrDeepaChauhan
Graphics Programming in C
Graphics Programming in C
Kasun Ranga Wijeweera
Calculus II - 34
Calculus II - 34
David Mao
C graphics programs file
C graphics programs file
shubham kanojia
Practica productos notables
Practica productos notables
Lina Ari
Basics of Computer graphics lab
Basics of Computer graphics lab
Priya Goyal
Computer Graphics Concepts
Computer Graphics Concepts
SHAKOOR AB
National Examiations 2010, QAAET, Bahrian, Maths grade 9 paper 2 ms
National Examiations 2010, QAAET, Bahrian, Maths grade 9 paper 2 ms
QAAET_BH
Shortest path search for real road networks and dynamic costs with pgRouting
Shortest path search for real road networks and dynamic costs with pgRouting
antonpa
R, Scikit-Learn and Apache Spark ML - What difference does it make?
R, Scikit-Learn and Apache Spark ML - What difference does it make?
Villu Ruusmann
Weitere ähnliche Inhalte
Was ist angesagt?
C Graphics Functions
C Graphics Functions
SHAKOOR AB
Lecture on graphics
Lecture on graphics
Rafi_Dar
Presentation 2(power point presentation) dis2016
Presentation 2(power point presentation) dis2016
Daniel Omunting
Introduction to graphics programming in c
Introduction to graphics programming in c
baabtra.com - No. 1 supplier of quality freshers
7 latest rangka penyelesaian
7 latest rangka penyelesaian
Norelyana Ali
(Full MatLab Code) Image compression DCT
(Full MatLab Code) Image compression DCT
Chaudhary Sarimurrab
Test
Test
Kinni MEW
Graphics in C programming
Graphics in C programming
Kamal Acharya
Calculus II - 33
Calculus II - 33
David Mao
Unit 11. Graphics
Unit 11. Graphics
Ashim Lamichhane
Calculus II - 32
Calculus II - 32
David Mao
Computer graphics
Computer graphics
amitsarda3
Transportation Problems-Maximum Profit
Transportation Problems-Maximum Profit
DrDeepaChauhan
Graphics Programming in C
Graphics Programming in C
Kasun Ranga Wijeweera
Calculus II - 34
Calculus II - 34
David Mao
C graphics programs file
C graphics programs file
shubham kanojia
Practica productos notables
Practica productos notables
Lina Ari
Basics of Computer graphics lab
Basics of Computer graphics lab
Priya Goyal
Computer Graphics Concepts
Computer Graphics Concepts
SHAKOOR AB
National Examiations 2010, QAAET, Bahrian, Maths grade 9 paper 2 ms
National Examiations 2010, QAAET, Bahrian, Maths grade 9 paper 2 ms
QAAET_BH
Was ist angesagt?
(20)
C Graphics Functions
C Graphics Functions
Lecture on graphics
Lecture on graphics
Presentation 2(power point presentation) dis2016
Presentation 2(power point presentation) dis2016
Introduction to graphics programming in c
Introduction to graphics programming in c
7 latest rangka penyelesaian
7 latest rangka penyelesaian
(Full MatLab Code) Image compression DCT
(Full MatLab Code) Image compression DCT
Test
Test
Graphics in C programming
Graphics in C programming
Calculus II - 33
Calculus II - 33
Unit 11. Graphics
Unit 11. Graphics
Calculus II - 32
Calculus II - 32
Computer graphics
Computer graphics
Transportation Problems-Maximum Profit
Transportation Problems-Maximum Profit
Graphics Programming in C
Graphics Programming in C
Calculus II - 34
Calculus II - 34
C graphics programs file
C graphics programs file
Practica productos notables
Practica productos notables
Basics of Computer graphics lab
Basics of Computer graphics lab
Computer Graphics Concepts
Computer Graphics Concepts
National Examiations 2010, QAAET, Bahrian, Maths grade 9 paper 2 ms
National Examiations 2010, QAAET, Bahrian, Maths grade 9 paper 2 ms
Ähnlich wie Shortest Path Search with pgRouting
Shortest path search for real road networks and dynamic costs with pgRouting
Shortest path search for real road networks and dynamic costs with pgRouting
antonpa
R, Scikit-Learn and Apache Spark ML - What difference does it make?
R, Scikit-Learn and Apache Spark ML - What difference does it make?
Villu Ruusmann
Copy Your Favourite Nokia App with Qt
Copy Your Favourite Nokia App with Qt
account inactive
Introduction To Geometry Shaders
Introduction To Geometry Shaders
pjcozzi
IRJET- Survey on Adaptive Routing Algorithms
IRJET- Survey on Adaptive Routing Algorithms
IRJET Journal
Monzor, Carbon-R-a, and the end of the world
Monzor, Carbon-R-a, and the end of the world
Ryan Bateman
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
François Garillot
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit
[系列活動] Data exploration with modern R
[系列活動] Data exploration with modern R
台灣資料科學年會
Dzanan_Bajgoric_C2CUDA_MscThesis_Present
Dzanan_Bajgoric_C2CUDA_MscThesis_Present
Džanan Bajgorić
GPU Accelerated Domain Decomposition
GPU Accelerated Domain Decomposition
Richard Southern
cbse 12 computer science IP
cbse 12 computer science IP
D. j Vicky
Supply chain logistics : vehicle routing and scheduling
Supply chain logistics : vehicle routing and scheduling
Retigence Technologies
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Vivian S. Zhang
sample questions.pptx
sample questions.pptx
RoMa665066
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPK
Jeremy Chen
MapReduce Algorithm Design
MapReduce Algorithm Design
Gabriela Agustini
INAC Online Hazards Database App
INAC Online Hazards Database App
Gerry James
Questions On The Equation For Regression
Questions On The Equation For Regression
Tiffany Sandoval
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
IRJET Journal
Ähnlich wie Shortest Path Search with pgRouting
(20)
Shortest path search for real road networks and dynamic costs with pgRouting
Shortest path search for real road networks and dynamic costs with pgRouting
R, Scikit-Learn and Apache Spark ML - What difference does it make?
R, Scikit-Learn and Apache Spark ML - What difference does it make?
Copy Your Favourite Nokia App with Qt
Copy Your Favourite Nokia App with Qt
Introduction To Geometry Shaders
Introduction To Geometry Shaders
IRJET- Survey on Adaptive Routing Algorithms
IRJET- Survey on Adaptive Routing Algorithms
Monzor, Carbon-R-a, and the end of the world
Monzor, Carbon-R-a, and the end of the world
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
[系列活動] Data exploration with modern R
[系列活動] Data exploration with modern R
Dzanan_Bajgoric_C2CUDA_MscThesis_Present
Dzanan_Bajgoric_C2CUDA_MscThesis_Present
GPU Accelerated Domain Decomposition
GPU Accelerated Domain Decomposition
cbse 12 computer science IP
cbse 12 computer science IP
Supply chain logistics : vehicle routing and scheduling
Supply chain logistics : vehicle routing and scheduling
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
Kaggle Winning Solution Xgboost algorithm -- Let us learn from its author
sample questions.pptx
sample questions.pptx
Applying Linear Optimization Using GLPK
Applying Linear Optimization Using GLPK
MapReduce Algorithm Design
MapReduce Algorithm Design
INAC Online Hazards Database App
INAC Online Hazards Database App
Questions On The Equation For Regression
Questions On The Equation For Regression
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Mehr von FOSS4G 2011
Adapting remote sensing research for environmental monitoring: Citizen mappin...
Adapting remote sensing research for environmental monitoring: Citizen mappin...
FOSS4G 2011
OPen Source Web Test Engine for Geospatial Standards
OPen Source Web Test Engine for Geospatial Standards
FOSS4G 2011
OpenAerialMap
OpenAerialMap
FOSS4G 2011
Processing chains with OGC Web Processing Services to process satellite data ...
Processing chains with OGC Web Processing Services to process satellite data ...
FOSS4G 2011
Common pitfalls for users of OpenLayers
Common pitfalls for users of OpenLayers
FOSS4G 2011
Clip and Ship: MapServer for Data Distribution
Clip and Ship: MapServer for Data Distribution
FOSS4G 2011
The FOSS4G Map
The FOSS4G Map
FOSS4G 2011
Advanced Cartography for the Web
Advanced Cartography for the Web
FOSS4G 2011
Mehr von FOSS4G 2011
(8)
Adapting remote sensing research for environmental monitoring: Citizen mappin...
Adapting remote sensing research for environmental monitoring: Citizen mappin...
OPen Source Web Test Engine for Geospatial Standards
OPen Source Web Test Engine for Geospatial Standards
OpenAerialMap
OpenAerialMap
Processing chains with OGC Web Processing Services to process satellite data ...
Processing chains with OGC Web Processing Services to process satellite data ...
Common pitfalls for users of OpenLayers
Common pitfalls for users of OpenLayers
Clip and Ship: MapServer for Data Distribution
Clip and Ship: MapServer for Data Distribution
The FOSS4G Map
The FOSS4G Map
Advanced Cartography for the Web
Advanced Cartography for the Web
Kürzlich hochgeladen
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
Kürzlich hochgeladen
(20)
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Slack Application Development 101 Slides
Slack Application Development 101 Slides
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Shortest Path Search with pgRouting
1.
Shortest Path Search
with pgRouting Daniel Kastl
2.
What is pgRouting?
3.
An Extension for PostgreSQL
/ PostGIS, ...
4.
An Open Source
project, ...
5.
A Library providing,
...
6.
Shortest Path
7.
DD and TSP
8.
DARP
9.
@justjkk @jay_mahadeokar
10.
APSP and TDSP
11.
Multi-Modal
12.
https://github.com/pgRouting/pgrouting
13.
SQL Function SELECT *
FROM shortest_path(' SELECT gid as id, source::integer, target::integer, length::float8 as cost FROM ways', 605, 359, false, false);
14.
Query Result vertex_id
| edge_id | cost -----------+---------+-------------------- 605 | 599 | 0.19925085940845 604 | 598 | 0.100258103875674 603 | 597 | 0.201123583387407 602 | 596 | 0.204847680679676 601 | 595 | 0.158334540345002 4293 | 9602 | 0.0183273901669081 ... | ... | ...
15.
Most users need
pgRouting for Road Networks How do they look like?
16.
Like this ...
17.
… or like
this ...
18.
… or sometimes
like this.
19.
What makes them
real? Traffic lights Signs Road marking
20.
How can pgRouting
help here?
21.
gid,
source, source target, cost, reverse_cost, x1, y1, x2, y2, rule, to_cost target
22.
Traffic lights slow
down … so costs must increase.
23.
B
C 1min A D cost(A)=cost(A)+30sec cost(B)=cost(B)+30sec cost(C)=cost(C)+30sec cost(D)=cost(D)+30sec
24.
Signs inform about restrictions
and rules
25.
26.
cost(A) = length(A)
reverse_cost(A) = ∞ A
27.
Sometimes the
costs have different meaning.
28.
cost(A)=length(A)/2
reverse_cost(A)=length(A)*2 cost(B)=length(B)*3 reverse_cost(B)=length(B)/3 B A
29.
Turn restrictions
obviously restrict turns.
30.
B
C 1min A D cost(A)=cost(A)+1min cost(B)=cost(B)+1min rule(A) = "D" cost(C)=cost(C)+1min cost(D)=cost(D)+1min∞ to_cost(A, D) =
31.
Road type can be
used for cost calculation.
32.
Not only road
types but also conditions
33.
Jughandle intersection http://upload.wikimedia.org/wikipedia/commons/e/e4/Jughandle_signage.jpg
34.
@ckrahe
35.
And you know what
is great about pgRouting?
36.
All costs are
dynamic! … which is the opposite to pre-calculated
37.
If the road
is closed ...
38.
… or there
is an accident, ...
39.
… there is
a sign with restrictions limited to a certain time, ...
40.
… bad weather
conditions ...
41.
… or any
other obstacle, ...
42.
You don't need
to rebuild and reload your network
43.
… and wait
forever.
44.
You only need
to adjust the cost for this particular road, and the next search will go another way.
45.
Cost can be
virtually anything
46.
OpenStreetMap data
47.
pgRouting can be
used for different kinds of networks
48.
Canals and
Rivers
49.
Hiking trails
50.
… or any
other kind of networks.
51.
pgRouting Demo
http://websi.openvrp.com http://map.veloland.ch http://www.ridethecity.com http://www.pgrouting.org/gallery.html
52.
Plans until FOSS4G
2012 ● Integrate new functions ● All-Pair-Shortest-Path ● Time-Dependent-Shortest-Path ● Multi-Modal ● Two-way A-Star, ... ● Drop CGAL dependency ● PostgreSQL 9.x & PostGIS 2.0 support ● Source cleanup
53.
www.pgrouting.org workshop.pgrouting.org daniel@georepublic.de
54.
55.
Photos from sxc.hu
and flickr under Creative Commons Licence.
Jetzt herunterladen