[OSM-talk] Route-planner

Richard Fairhurst richard at systemeD.net
Thu May 4 13:42:54 BST 2006


I've just planned my first route using OSM data.

It's from the bottom of my road (Charlbury, Oxfordshire) to a random 
place a few miles to the south. The code to calculate the route is a 
command-line Ruby thing - currently very raw but, perhaps, the 
foundation of something much bigger to come. I'll put it in svn when 
it's less horrible.

It doesn't yet know about ways, only segments, so it's strictly 
shortest route rather than fastest.

Output is here: http://www.systemeD.net/stuff/route.pdf

(PDF seemed the easiest way to plot it. No projection as yet.)

All made possible thanks to Imi's planet.osm->SQL importer - thanks 
Imi. :)

cheers
Richard





More information about the talk mailing list