[OSM-dev] Making polylines from route relations

Richard Fairhurst richard at systemeD.net
Wed Sep 19 13:28:43 BST 2012


Hi all,

Does anyone have any code to convert a route relation into a polyline?

In other words, given a relation with (unordered) ways A, B, and C, 
which contain nodes "i-j-k", "p-o-n", and "k-l-m-n", I'd like to get 
"i-j-k-l-m-n-o-p" out the other end. Not the hardest of programming 
challenges, but I thought I'd check if it's been done already...

cheers
Richard



More information about the dev mailing list