This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Can I create turn-by-turn directions from a relation?

0

I'm not looking for a routing engine, but for a website or program that can take a relation and convert it into turn-by-turn directions (such as a cue sheet from a cycle route relation).

asked 23 Jul '10, 03:28

NE2's gravatar image

NE2
1.4k333954
accept rate: 9%


One Answer:

-2

Let the routing engine do it's job, this isn't a job for relations.

answered 25 Jul '10, 02:17

Baloo%20Uriza's gravatar image

Baloo Uriza
3.2k143061
accept rate: 9%

2

So how do I tell the routing engine to follow Bike Route 1 from Boston to Cape Cod?

(25 Jul '10, 02:26) NE2

That depends on your routing engine; it's a problem that is entirely independent of the map data assuming that Bike Route 1 has a proper route relation.

(03 Aug '10, 07:46) Baloo Uriza

Well, part of the reason for asking this question is that I need something that will check that Bike Route 1 does have a proper relation. Got anything?

(03 Aug '10, 09:20) NE2
1

What do you mean by a "proper route relation"? The Relation Analyzer will check with there's any gaps in the route.

It also has the option of downloading the relation as a GPX track, which you might be able to use with routing software etc.

(03 Aug '10, 11:36) Vclaw

The Relation Analyzer tells me that there are 27 unconnected segments. But this is because many portions are split into one-way pairs with 'forward' and 'backward' roles, and the analyzer can't handle these.

(03 Aug '10, 12:43) NE2

Source code available on GitHub .