graphhopper/graphhopper — pull request #177 by JohannesPelzer (2014-04-01 11:58:56+00:00)
Title: Added azimuth and direction to GPX <rtept> extension

directions are calculated per instruction and are based on the first track segment of this instruction. If Instruction has only one point, the coordinates of the next instruction are used.