Welcome to the Postmile Services Postmile Query Tool
(This window can be dismissed by clicking the close button () at right, and retrieved with the button above the top-right corner of the map.)
The Postmile Query Tool enables you to explore California's Linear Reference System. You can validate postmiles, convert between postmiles and geo-coordinates, and determine the state odometer associated with a postmile or geo-coordinate. This window enables you to view a collection of help pages explaining what this tool is and how to use it.
- What is a postmile?
- Input Controls
- Controls & Map Markers
- How to: Point Mode
- How to: Line Mode
- Browser Configuration
- For more information
This page references data in the Postmile Web Service. The data is provided by the California Department of Transportation.
What is a Postmile?
A postmile is the way that a specific location on a state or federal route is specified within the Linear Reference System. In a linear reference system, locations are indicated by a distance along a route. Calibration postmiles represent locations that have been visually identified using aerial photography (National Agriculture Imagery Program—NAIP) and marked on the route. Other postmiles are interpolations between the calibration postmiles.
A postmile has three principal components: a County, a Route and a Postmile Value. The county is specified by its 2- or 3-letter county code (e.g., SAC for Sacramento, SB for Santa Barbara).
The route is identified by a 1-3 digit number, and a Route Suffix Code for those routes that require one.
The Postmile Value measures the distance, in miles, from the start of the route, or from the point at which the route enters the county. Thus, Postmile Values reset to zero each time the route crosses a county border. (Exception: when the border between two counties meanders, so that the route crosses the same border several times, the Postmile Value continues to increase as though no boundary had been crossed, and is marked by a Postmile Prefix Code of "D" — duplicate postmile at meandering county line.)
The Postmile Value may be accompanied by a Postmile Prefix Code (immediately before the postmile value) and/or a Postmile Suffix Code (immediately after the postmile value).
The Route Suffix Code, Postmile Prefix Code and Postmile Suffix Code are referred to as "qualifiers." Not all postmile specifications require their presence. However, where they are needed, they must be present for the postmile specification to be valid. Sometimes, two postmile specifications, representing two distinct geographic locations, differ only in whether or not a single qualifier is present. For example, the two postmiles ALA 84 23.133 and ALA 84 R23.133 differ only by the presence of the "R" Postmile Prefix Code, but they represent two locations along Route 84 separated by about 880 feet. (In other cases, two postmiles differing in one qualifier can represent locations 10 miles apart.) For this reason careful attention to correct qualifiers is necessary. The next page lists the values that these qualifier codes can take, and what they mean.
The Statewide Odometer is an alternate indicator of position within the linear reference system. The Statewide Odometer measures the distance of the location along a route from the beginning of the route, without regard for county boundaries.
The Postmile specification uses measures that are local to each county (and Postmile Prefix codes) so that realigning a route (modifying the path that a route takes) has minimal impact on the specifications of locations downstream of the segment that was changed. This is important because of the cost to change all the physical postmile paddles that line the routes. In the Statewide Odometer, on the other hand, any change in the path of the route affects the odometer specification for all points downstream of the change, across the entire state.
Qualifiers in a Postmile Specification
Route SuffixIf a route suffix is needed, it will be one of the two letters:
- S — Supplemental
- U — Unrelinquished
Postmile PrefixIf a postmile prefix letter is needed, it will be one of the following letters:
- C — Commercial Lanes
- D — Duplicate postmile at meandering county line
- G — Reposting of duplicate postmile at route end
- H — Realignment of D Mileage
- L — Overlap postmile
- M — Realignment of R mileage
- N — Realignment of M mileage
- R — First realignment
- S — Spur
- T — Temporary connection
Postmile SuffixSometimes the two directions of a major route separate and follow substantially different paths. When this happens, the postmile is determined independently for each direction. In that case a postmile suffix letter is required to indicate the side of the road to which the postmile pertains:
- L — Left (South on South-to-North routes, West on West-to-East routes)
- R — Right (North on Soutth-to-North routes, East on West-to-East routes)
Input Controls (cont'd)
Input Controls (cont'd)
Controls & Map Markers
Valid postmiles are represented on the map using markers with the postmile paddle icon .
Clicking on a postmile marker will show the information window for the postmile, and populate the postmile controls with the specification of the postmile at the marker's location.
In "Line" mode, if the marker represents a candidate for the first or second postmile of a line pair, the icon will show the number or , and clicking on it will populate the controls for the corresponding postmile.
Double-clicking a postmile marker will move the push-pin marker to the postmile's geographic location (and thus populate the geo-coordinate fields with the postmile's location).
The push-pin icon marks the location on the map represented by the coordinates in the geo-coordinates fieldset. This marker may be dragged with the mouse to move it to another place on the map. The geo-coordinate controls will change value to reflect the current position of the marker.
Clicking on the push-pin marker will determine the recognized postmile that is closest to the location of the marker, populate the postmile controls with it, and validate it (same as clicking the button in the geo-coordinates fieldset.) If the location of the postmile is different than that of the push-pin marker, a line will be drawn connecting the two markers.
In "Line" mode, the set of postmile controls that is populated is determined by which of the two markers is clicked (they are labeled and ).
Clicking on an open area of the map itself has the same effect as moving a push-pin marker to that location and clicking on it. In "Line" mode, the pushpin marker that is moved and the postmile fields that are populated is determined by the input control that last had focus: moving the focus into any input control for a postmile specification will cause the controls for that postmile to be populated with the postmile that is next found from geo-coordinates by clicking on the map.
How to: Point ModeWith the "Point" radio button selected, the query tool is in "Point Mode", which deals with an individual postmile representing a point geographic location on California's system of highways.
To Validate a Postmile
Enter the postmile specification in the "Postmile" fieldset, and click . If you entered a valid postmile, a marker with postmile paddle icon will show the location. An information window will also appear above the marker giving both the postmile specification and the state odometer for the postmile. The pushpin marker  will also move to the location of the postmile, so that the geo-coordinates display will contain the latitude and longitude of that location.
If the postmile specification is not recognized by the Postmile Web Service, a message will appear to that effect above the map. In some cases, the web service can identify candidate postmiles. These are valid postmiles that differ from your specification only in the values of one or more qualifiers. When candidates are identified, they are listed in the message above the map, and they are located on the map with postmile paddle icons. You can populate the postmile controls with one of the candidates by clicking on its specification in the validation message (each is a hyperlink), or by clicking on the postmile marker for the candidate on the map. (Clicking either will also open the information window for the postmile paddle marker of the candidate. In conjunction with the Close Infowindows button you can explore the candidates.)
To Determine the Postmile for a set of Geo-CoordinatesEnter the geo-coordinates into the Latitude and Longitude input fields in the Geo-Coordinates fieldset (or drag the push-pin marker to the location on the map) and click . This puts the pushpin marker at the specified coordinates, then puts the postmile paddle marker at the nearest recognized postmile. A line will be drawn between the push-pin marker (representing your geo-coordinates) and the paddle marker (representing the nearest postmile).
Clicking on the map will move the pushpin marker to the click point, and display the nearest recognized postmile with the postmile paddle.
To determine the Geo-Coordinates of a PostmileValidate the postmile by any of the methods above, then double-click on the postmile paddle. This will move the pushpin marker to the postmile location, and put the geo-coordinates in the latitude and longitude fields.
How to:Line ModeWith the "Line" radio button selected, the query tool is in "Line Mode", which deals with pairs of postmiles representing a segment of a route in California's system of highways.
To Validate a Postmile Pair
Enter the postmile specifications in the "Postmile" fieldset, and click .
The two postmiles must represent two locations on the same route (this is enforced in the "Components" controls by having only one set of controls for the route.
If you entered two valid postmiles, two markers showing the postmile paddle icons and will show the beginning and end of your segment, and the route between them will be marked in Sea Green. (Any parts of the route that are no longer under the aegis of the California Department of Transportation, or that overlap a dominant route in the system, will cause gaps in the marked route.)
If either or both of your postmile specifications are not recognized, then a message to that effect will appear above the map. This message may include candidate postmile pairs that differ from your specifications only in the values of one or more qualifiers. If so, postmile paddle icons will mark the positions of the candidates for each postmile. Clicking on a candidate pair in the message will populate the postmile controls, and pop up the information windows for the corresponding markers. Clicking on a postmile paddle icon labeled 1 or 2 will populate the controls for the corresponding first or second postmile.
To Validate a Segment by Geo-Coordinates
Enter the geo-coodinates for the ends of the segment in the Geo-Coordinates fieldset. Then click on the in the Geo-Coordinates fieldset. This will determine the postmiles for the ends of the segment. Of course, you can also determine the coordinates of the ends by dragging the corresponding pushpin markers.
To determine the Geo-Coordinates of the Segment Ends
After validating the segment, double-click on the postmile paddle icons shown at each end of the segment to move the push-pin markers there, then read the latitude and longitude displayed in the Geo-Coordinates fieldset. Alternatively, click the in the Postmile fieldset. This will revalidate the segment and move both geo-coordinate markers to their respective postmile locations.
Browser ConfigurationThe Postmile Query Tool has been developed to work with most browsers. However, we can only support the most recent versions of these browsers, and parts of the tool's functionality may not work properly unless certain configurations are set in the browser. The following browsers have been tested:
- Google Chrome (version 50.0+)
- Mozilla FireFox (version 46.0.1+)
- Microsoft Internet Explorer (version 11.0+)
Within each browser, ensure the following:
- Do not use "Compatibility" mode;
- Do not use graphics hardware acceleration (may not be compatible with Google Maps)