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 need to add routing functionality in my application how to add the routing in openlayers.

share|improve this question
    
Do mean by your own database or using web routing API? –  Mapperz Nov 2 '12 at 13:21
    
Openlayers is just the 'canvas' - Datamodelling, processing has to be done elsewhere... –  Styp Nov 5 '12 at 14:48
    
Welcome to GIS SE :) Please do improve your accept rate by accepting answers to your previous questions. –  R.K. Nov 8 '12 at 3:17
add comment

2 Answers

There's an introduction to using pgRouting with OpenLayers here: http://pgrouting.org/docs/foss4g2007/index.html

For further information you may also wish to see this question and answer: http://stackoverflow.com/questions/6794996/openstreetmap-data-with-openlayers-vs-google-maps

share|improve this answer
add comment

You can use PostGis database with pgRouting library. Here is a nice tutorial for beginers on how to use pgRouting: http://underdark.wordpress.com/2011/02/07/a-beginners-guide-to-pgrouting/

Here you have some more detailed information on how pgRouting functions work, it might be helpfull: http://www.davidgis.fr/documentation/pgrouting-1.02/

share|improve this answer
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.