Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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.

Thanks in advance.

share|improve this question
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

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.

share|improve this answer
Is there any blog or tutorial where I can learn this? – Devils Dream Dec 22 '12 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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