Enviar búsqueda
Cargar
Shortest Path Search with pgRouting
•
1 recomendación
•
941 vistas
FOSS4G 2011
Seguir
Shortest Path Search with pgRouting by Daniel Kastl of GeoRepublic
Leer menos
Leer más
Tecnología
Empresariales
Denunciar
Compartir
Denunciar
Compartir
1 de 55
Descargar ahora
Descargar para leer sin conexión
Recomendados
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
Recomendados
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
Más contenido relacionado
La actualidad más candente
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
La actualidad más candente
(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
Similar a 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
Similar a 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...
Más de 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
Más de 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
Último
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
apidays
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
danishmna97
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Rustici Software
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Christopher Logan Kennedy
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Sandro Moreira
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
The Digital Insurer
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
WSO2
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Bhuvaneswari Subramani
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Architecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
Último
(20)
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Architecting Cloud Native Applications
Architecting Cloud Native Applications
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.
Descargar ahora