Navigation bar
  Print document Start Previous page
 219 of 289 
Next page End  

SAE ATIS Committee Working Draft
ITIS Phrase Tables, Draft [issued: 04-11-09] 
-
219 -
This is a draft document of the SAE ATIS committee, subject to change.
8.2
Encoding Numbers 
Numbers shall be encoded with one of more number codes or text following the below rules.
Numbers can be encoding using the following three types of categories: small numbers, large
numbers, and text as well as the encoding for zero.
The number produced shall be the sum of all number codes that follow.
The largest number shall come first followed by smaller numbers in descending order.
Numbers shall be produced with number codes when possible and with textual entries when the
number codes will not serve (typically needed when a decimal point is used).
Encodings should used the smallest number of codes possible to express the result. 
Any prefix or suffix letters required to make a entry with mixed numbers and text shall be encoded
as text in the order required.  
Numbers ranging from 1 to 255 shall be encoded using the small number category. 
Numbers ranging from 256 and larger shall be encoded using the large number category.
The number 0 (zero) shall be encoded as 16 bits of all zeros, 0x00.
Any ordinal value shall be applied to the number by suffix text if required.  Interpretation of such
values is outside of the scope of this section. 
For backwards compatibility, the older encoding style of a category of zero followed by the value
in the next byte  [<00> <number>] shall be supported, but its use should be avoided in new work.  
Examples of proper encoding numerical values: 
Value to be expressed
Preferred Encoding
Byte Sequence
0
0
00>
1
n1
12545
123
n123
12667
1234
n1200, n34
11547, 12578
12345
n12000, n300, n45
11581, 11531, 12589
123 ½ 
n123, n1_2
12667, 11526
Exit 123b
exit, n123, “b”
11794, 12667, text : b
1st Street
n1, st, street
12545, text: st, 13436
I-5
interstate, n5
1178, 12549
Business Loop 880
business loop, n850, n30
11782, 11542, 12574
US Route 66
us-route, n66
11779, 12610
123
<00 : 123>  
[Old style, no longer preferred]