Would like to emulate google maps' driving directions functionality but use pgRouting instead. google's data over the project area & scale is quite a bit off so we want to use our own transport network data in postGIS.

any hints?


  • There are other routing services available on the web - are you interested in those or do you really want to spin your own? – TheSteve0 Aug 6 '10 at 4:21
  • roll our own. we're moving everything to postGIS & pgRouting works "well enough" for our first project area, just lacks directions. – coldfusionPaul Aug 6 '10 at 11:41

Check out the OpenGraphRouter project.

Stephen Woodbridge has created a demo demonstrating the driving directions.[Dead link]

There is a pretty good thread on the PostGIS-users list related to this.[Dead link]


For setting up pgrouting and visualising it with Udig [http://www.utdallas.edu/~ama054000/rt_tutorial.html][1] [Dead Link]

alternative link http://www.davidgis.fr/blog/index.php?q=pgRouting

Make sure your using the right SRID, common ones: 4326 - WGS 84 Long Lat, 4269 - NAD 83 Long Lat, 3395 - WGS 84 World Mercator, 2163 - US National Atlas Equal Area

Here is a good example of pgrouting in action with Open Street Map (Cloudmade 'Web Lite') Data


route: http://www.ridethecity.com/nyc?rid=866162 (icon markers are draggable and re-calculates route)


I've never used pgrouting myself (should have, actually) but http://twitter.com/pgrouting seems to be a good source for latest information about the project and users.

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.