Instruction format
An instruction exists of the following components:
- geometry: the place of the instruction in wkt
- distance: the distance alongst the route, beginning from the start of the route
- type
- id: defines the instruction type, see below
- street: the street where the instruction leads you
- bearing
- from: the bearing before the instruction
- to: the bearing after the instruction
- angle: the angle the instruction makes
- importance: between 0 (can be ignored) en 1 (very important)
- exit: (only for roundabout instructions, type 12 and 13) the count of exits at which the route leaves the roundabout
- node: (only for instructions on a node network)
- at: contains the node number at the instruction
- to: indicates the next node number to follow
Possible instruction types:
- : continue on street
- : via point reached
- : finish reached
- : turn slight left
- : turn slight right
- : turn left
- : turn right
- : turn sharp left
- : turn sharp right
- : u-turn left
- : u-turn right
- : use roundabout counter clockwise
- : use roundabout clockwise
- : leave roundabout
- : keep left
- : keep right