Distance and Direction Processing
There are a variety of ways to express a search based on a combination of distance and direction. This section describes by example valid formats which can be used. Leave the field blank if there is no distance qualifier.
Distance Formats
The layout for the ten (10) characters is:
-
Distance (Three Characters) - Number of miles or kilometers. Always left fill with zeros (0)
-
Unit of Measure (One Character) - M = miles, K = kilometers
-
Direction (Two Characters) - N, S, E, W, NE, NW, SE, SW, blanks
-
Action Code (One Character) - Greater than (Y), Less Than (-), or blank
-
Distance (Three Characters) - Number of Miles or Kilometers (Upper limit of a range)
Examples |
||
Retrieve locations less than or equal to 9 miles from the reference point. |
||
Distance value |
||
Unit of measure =
|
||
Direction = blanks |
||
Action code =
|
||
Distance value = 009 |
||
|
||
Retrieve locations between 10 and 25 miles from the reference point. |
||
Distance value = 010 |
||
Unit of measure = M |
||
Direction =
|
||
Action code = - |
||
Distance value =
|
||
|
||
Retrieve locations between 1 and 15 miles East of the reference point. |
||
Distance value = 001 |
||
Unit of measure = M |
||
Direction =
|
||
Action code = - |
||
Distance value = 015 |
||
|
||
Retrieve locations greater than or equal to 20 miles from the reference point. |
||
Distance value = 020 |
||
Unit of measure = M |
||
Direction = blanks |
||
Action code = Y |
||
Distance value =
|
||
|
||
Retrieve locations within 10% of 100 kilometers of the reference point. |
||
Distance value = 100 |
||
Unit of measure =
|
||
Direction = blanks |
||
Action code =
|
||
Distance value =
|
||
|
||
Retrieve all locations North of the reference point. |
||
Distance value =
|
||
Unit of measure = M |
||
Direction =
|
||
Action code = Y |
||
Distance value =
|