Alaska toll rates

Alaska’s road toll is the Whittier Tunnel (AK DOT&PF): a round-trip toll paid at Bear Valley on the way to Whittier, $13 for a passenger vehicle; nothing is collected leaving Whittier. Files: facilities.csv, collection_points.csv, rates.csv, decisions.csv.

How a bot finds the toll (read this first)

  1. Get your route as roads and points. From the route planner take (a) the line of lat/lon points and (b) the OSM way id of every road piece the route drives (Valhalla: trace_attributes on the route shape, attribute edge.way_id).
  2. Find the toll points you pass. Every row of the table “Booths” below is one booth standing on one OSM way. You pass that booth when both hold: your route drives that OSM way, and your line passes within 10 m of the booth’s lat/lon. Note the row’s point_id. A ramp booth is on the ramp’s way, so driving past on the main road is not a hit; a main-road booth is on the main road’s way, so a ramp beside it is not a hit. Rows marked “position only” have no OSM road: there, passing within the stated radius counts.
  3. Note your direction at that booth (the compass direction your route is heading there: northbound, southbound, eastbound, westbound).
  4. Read the price. Open the point’s facility page (the point_id links there). Under the point_id is one row per direction, vehicle and payment: take the row whose direction is yours or “both”, your vehicle (axles) and how you pay. A point with no row for your direction does not charge you.
  5. Roads priced per trip (marked “per trip”): their booths are the road’s exits. The first one your route passes is where you got on, the last one where you got off; read that pair in the facility page’s “Trip prices” table for your direction.
  6. Add up the amounts of every point (and trip) passed.
  7. Check for untied tolls. The table “OSM toll nodes not tied to a toll point” lists toll gantries/booths mapped in OpenStreetMap on these roads that no published point claims. If your route passes one (same way + distance rule), say so: the published rates do not price it.

No route line? Fall back to names: each facility page has the road in driving order with exit numbers and the names the route planner uses. Names cannot tell which ramp you took at an exit with several ramps; the way id can.

Facilities

facility_idfacilityOSM namesOSM refspointspriced
AK-WHITTIERAnton Anderson Memorial Tunnel (Whittier Tunnel)Portage Glacier Highway—1per toll point

Booths — match your route by OSM way and position (1 booths at 1 toll points; 0 points open)

One row per booth, each standing on one OpenStreetMap way. Your route passes a toll point when it drives the booth’s way and its line comes within 10 m of the booth. Each point_id links to its prices. Position decisions: decisions.csv.

point_idOSM wayOSM noderoad (OSM)booth latbooth lonhit whenfacilitytoll point
AK-WHITTIER-012329672642412895088Portage Glacier Highway · primary60.7900763-148.8151408way + 10 mAK-WHITTIER Bear Valley toll booth

OSM toll nodes not tied to a toll point (14)

Toll gantries or booths mapped in OpenStreetMap on these toll roads that no published toll point claims. A route that passes one (same way, within the same distance) passes a toll these pages do not price: report it, do not guess a price.

OSM wayOSM noderoad (OSM)latlonfacility nearby
898243265778480Centennial Park Road · service60.4784787-151.0886748
1268198551404775104(unnamed) · service60.8214846-148.9800792
2648611372705198947(unnamed) · service60.4870178-150.0048176
2972178522705198947(unnamed) · service60.4870178-150.0048176
2972178562705198947(unnamed) · service60.4870178-150.0048176
5257777773389418006(unnamed) · unclassified61.1736553-149.9768263
89771653610008612Russian River Campground Road / FS 1015000 · service60.4815465-149.9432836
89749574257650873Boat Launch Road · service60.5435082-151.2188905
89756394259043188Swiftwater Park Road · service60.4832494-151.0415751
10931497674259043188Swiftwater Park Road · residential60.4832494-151.0415751
5239910825100017799(unnamed) · service61.3055985-149.5738470
5426743755246514222(unnamed) · service61.2178747-149.8855402
8996692458359075193(unnamed) · service61.2181106-149.8872264
89781438628292371Finger Lake Access Road · unclassified61.6104505-149.2650703

Sources (3)