-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nic Roets schrieb:
> I reimplemented turn-by-turn instructions in gosmore. Here is the
> basic logic :
>
> Look ahead at the predicted route for up to 300m. If there is a
> junction (defined as a node with 3 segments) and the predicted
> route makes a turn smaller than 45 degrees, continue looking
> further ahead. If the turn is larger than 45 degrees, output either
> "turnLeft", "turnRight", "keepLeft" or "keepRight". The latter 2
> are used then the turn junction wasn't the first junction
> encountered.
>
> I'm not too used to roundabouts (not too many around here) and I've
>  never seen a satnav operate at one. But I suspect the best idea is
> to tell the driver how many exists to skip.

Yes, "take the " + n + "th exit" is the usual case for roundabouts.
I am using a more adanced version of that 45°-rule to also have
"turn around" "keep left" and "sharp left". Especially if there
are more then 2 ways forming a junction this makes is a lot easier
to understand.

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIiK1qf1hPnk3Z0cQRAiK+AJ9Jwrea4ogjuXyCLAWmPZe0sb90ewCgzS75
6RKLa0Xt41IP7I/xgcEOCa4=
=MIBR
-----END PGP SIGNATURE-----


_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/routing

Reply via email to