BCN-ROUTING: WEB-MAPPING AND ROUTING APPLICATION WITH PGROUTING TOOLS, OPENLAYERS AND OPENSTREETMAP DATA
Routing applications are gaining relevance every day thanks to the popularization of GPS and future Galileo. A previous data preparation and a correct spatial database structure is required to successfully apply complex algorithms to it. In the past few years, the development of pgRouting as an open source library that provides routing functionality to PostgreSQL/PostGIS has opened new possibilities for shortest path search in these databases.
In this contribution, we have developed a GIS system for shortest path search between a given point and an interesting place in the city of Barcelona. The street information has been extracted from OpenStreetMap and a layer of tourist attraction points has been created. Everything has been stored in a PostGIS database. After a data structure preparation for routing capabilities, we will apply the Disjktra algorithm implementation provided in pgRouting to search for the shortest path between two nodes. Result presentation in a web-mapping application will be build using OpenLayers library.
Routing tools supplied in the pgRouting extension for PostGIS databases, as well as additional tools to work with OpenStreetMap data, simplify the process of data structure creation and facilitate the resolution of shortest path search routing problems.
Antonio Pérez-Navarro - Universitat Oberta de Catalunya
Anna Muñoz-Bollas - Universitat Oberta de Catalunya
Oriol Vallcorba - Universitat Oberta de Catalunya