1

I am newbie at Open Source GIS. I have already create a web mapping using custom tiles and leaflet. I have used my my own database. Tilemill was used to create the tiles and leaflet was used to visualize the tiles. Now I want to create a query of routing and Drive direction on the web mapping. I saw some tutorials of underdark in the following blog where routing visualization was done through QGIS software.

http://underdark.wordpress.com/tag/pgrouting/

Now I want to know that whether it is possible to use my custom data (shape file) as postGIS to visualize routing on web map or not.

  • This is a really confusing question. Can you explain what you already have in terms of input data, what you already have (perhaps a diagram of your architecture?) and exactly what functionality doesn't yet exist that you need? – BradHards Dec 22 '12 at 0:08
2

pgRouting and PostGIS dont't restrict you in how you display a route. Whether you use LEaflet, OpenLayers or QGIS, you always need to import your road network data into a PostgreSQL database, prepare it to be able to run the pgRouting shortest path function, etc.. And then you will have to write an application that for example accepts a start and end point as parameters and returns a route in a format that Leaflet for example can display.

  • 1
    Is there any blog or tutorial where I can learn this? – Devils Dream Dec 22 '12 at 17:55
2

This youtube series goes through the process of acquiring network data for pgRouting, importing into Geoserver and building an application using leaflet https://www.youtube.com/watch?v=6gfdQmFkVmE&list=PLaOYwKHOUv7Z2KyZNTXhLhwYm-XeEs34H

  • 1
    As links can break or videos be removed, please provide a small description of the process so that future users can use this answer even if the links breaks. – Kantan Dec 11 '18 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.