Abstract
Geographic information systems (GISs) are becoming the most popular field in recent years. A GIS is an application or system which is designed for capture, storage, manipulation, analysis, and presentation of spatial or geographic information. Geographic location is the key term or information for the geographic information without which the data can’t be said to be spatial or geographic. The approach mentioned in this paper explores two famous problems, i.e., GIS and graph theory algorithms to find out the shortest path between the two nodes. This paper explores the working of “shortest path analyzer” plugin developed for QGIS [1, 2] to find out the shortest path between two nodes (source and destination) in road network (geospatial data) using various algorithm approaches of PgRouting [3, 4] extension of PostgreSQL [5] database. A detailed overview of this plugin is presented in this paper. PgRouting provides some methods by which the cost parameter of distance from the source node to the destination node can be calculated dynamically. In this research, various algorithms (provided in PgRouting) are implemented to calculate the best and an optimal shortest path between two nodes and the comparison of various shortest path algorithms [6] is made to calculate the shortest path with minimum cost. This paper is a comprehensive compilation of theory as well as an implementation of PgRouting library functions in the form of the plugin of QGIS in the spatial network analysis domain. This research is implementing a geospatial database at the backend and PyQGIS plugin at the front end to calculate and visualize the shortest path between two nodes of the road network using various combinations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Lachlan Smeed, QUT, Article on “An Introduction to Quantum QGIS”
Neteler M, Mitasova H (2008) Open source gis: a grass gis approach
pgRouting Contributor (2017) Manual released 2.5.1
Kastl D et al (2009) Foss4G routing with pgRouting tools and OpenStreetMap road data
Varlena, LCC—introduction to PostgreSQL the open source object-relation database management system
Magzhan K, Jani HM (2013) A review and evaluation of shortest path algorithm
Chiang YY, Knoblock CA (2008) General approach for extracting road vector data from raster maps
Windows Implementation of PgRouting to find Shortest Path using Dijkstra’s Algorithm for Varanasi Road Network—Kumari Pritee1, R.D. Garg2, and Anurag Ohri
Official Road Graph Plugin Documentation
Singal P, Chhillar RS (2014) Dijkstra shortest path algorithm using global positioning system
Graser A, Nagase K, Vergara V (2013) PgRouting layer plugin
Stajano F (1995) A gentle introduction to relational and object-oriented databases
Singh PS et al (2015) Dynamic shortest route finder using PgRouting for emergency management
Official article of Shapefiles by Geofabrik
PostGIS Official Documentation Manual
Psycopg2—PostgreSQL database adapter for Python
PostGIS 2.0 pgsql2shp shp2pgsql Command Line Cheat sheet
Postgis2.1_cheatsheet 2.1.0dev r11091
Using DB Manager to work with spatial databases in QGIS
QGIS-2.0-PyQGIS developer cookbook
Nosrati M, Karimi R, Hasanvand HA (2012) Investigation of *(Star) search algorithms: characteristics, methods and approaches
Miler M, Medak D, Odobais D (2013) The shortest path algorithm performance comparison in graph and relational database on a transportation network
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Chadha, C., Garg, S. (2019). Shortest Path Analysis on Geospatial Data Using PgRouting. In: Bhattacharyya, S., Hassanien, A., Gupta, D., Khanna, A., Pan, I. (eds) International Conference on Innovative Computing and Communications. Lecture Notes in Networks and Systems, vol 55. Springer, Singapore. https://doi.org/10.1007/978-981-13-2324-9_20
Download citation
DOI: https://doi.org/10.1007/978-981-13-2324-9_20
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-2323-2
Online ISBN: 978-981-13-2324-9
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)