Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

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
add comment

1 Answer 1

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
1  
Is there any blog or tutorial where I can learn this? –  Devils Dream Dec 22 '12 at 17:55
add comment

Your Answer

 
discard

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.