Routing API Developer's Guide

HeadingType

Heading in degrees starting at true North and continuing clockwise around the compass.

North is 0 degrees, east is 90 degrees, south is 180 degrees, west is 270 degrees. This type can be used whenever directions need to be represented.

HeadingType is an xs:double type with the following restrictions:

  • Must satisfy: 0 ≤ value < 360
  • Unit: decimal degrees
  • Measured: clockwise starting at 0 degrees at true North
  • Precision: 4 positions after decimal point, additional positions are ignored

Examples

90.12
65.1
30