User:U715371/Routing errors - turns

From OpenStreetMap Wiki
Jump to: navigation, search

No possibility of interpreting a turn for routers

Motorway departures

Being routed is not that easy. While you trust into the commands of your router, sometimes something like the following is happening.

Routing error 1.png

Imagine this will be annoying if you are missing the exit on a motorway!

Most routers do not understand turns to be turns, since the angle is not right. Here is a negative example how some mappers are mapping turns.

Routing error 1 coding.png

Here is the solution to the problem.

Routing error 1 solution.png

If everything is mapped nice, you will get this.

Routing error 1 solved.png

Crossroads with islands

Those crossroads which contain islands and give at least 3 possibilities of turn are often mapped using separate ways as in the following example.

Routing error 1 crossraods coding.png

In the above example we are entering the map from north (top). This shown solution is wrong because at first the represented way of the link is way too long (for example it does not represent the possibility to switch back from the turn lane to the main street). And at second it does not clearly state that you do not have to do anything since you want to drive/ride straight. At the above solution almost every routing will result in a fatal command to turn left while the route is actually going straight. In fact the interpreter does not have a chance to interpret the situation correctly, because both ways could belong to the/a straight turn option.

A solution to the problem is illustrated by the following example.

Routing error 1 crossraods solved.png

Crossroads with micro turn commands

Sometimes crossing a street may result in an command like "turn left and after 3 meters turn right" while visually you are going straight.

Routing error 2 doppel.png

To avoid those errors you may connect the ways into a single node as shown on the right part of the picture.

Lanes as separate ways

At crossings are often islands which are separating the turning lanes physically. Those lanes may be mapped as single ways. But sometimes mappers tend to invent those islands and are mapping stuff as illustrated in the following picture by the red marked way.

Routing error 3 no-island.png

This does not necessarily result in a routing error, but in this case it may lead to some commands for the left-turn lane (entering the picture from east) like "keep to the left and after 20 meteres turn left". So those ways are not really helpful.