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

share|improve this question

closed as unclear what you're asking by underdark May 7 '14 at 9:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the 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

There's an introduction to using pgRouting with OpenLayers here:

For further information you may also wish to see this question and answer:

share|improve this answer

You can use PostGis database with pgRouting library. Here is a nice tutorial for beginers on how to use pgRouting:

Here you have some more detailed information on how pgRouting functions work, it might be helpfull:

share|improve this answer

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