The following scenarios give an overview of how geocodes work depending on your setup.
Example 1
Result 1
A transit time and distance is returned by PC*Miler for origin and destination pairs in North America.
Example 1a
Result 1a
If the system can return a distance and transit time from the distance server specified, then it does so. This value takes precedence over geocodes.
Example 2
Result 2
The system will fail to return a distance and the rating will also fail.
Example 2a
Result 2a
The system uses the default geocodes to calculate a straight-line distance using the distance factor. Rating proceeds and an approximate transit time is calculated
Example 2b
Result 2b
Both the origin and the destination point will have a system-defined geocode, although you could manually override this. These geocodes are used instead of the country’s default geocodes to calculate the straight-line distance. The curvature factor is calculated and rating proceeds.
Example 3
Result 3
If no geocodes are available then rating fails. However, if you manually apply geocodes to these addresses, then the system uses these geocodes to calculate a straight-line distance and rating should succeed.
Note: Persistent distance time overrides will continue to supersede all system distance and time calculations.