Indiana tolls: how to maintain

Files: /srv/toll/draft/IN, last built 2026-10-09 21:34 ET · the IN toll page · map test · facts below are read from the files each time this page is built (python3 /home/geo1/system/handbuilt/maintain_pages.py IN)

Procedure for this state

The Indiana Toll Road, priced entry to exit from the operator's own calculator: every entry x exit x class (2-7) x cash / E-ZPass, 4,332 answers asked inside its page on b100 and archived (itr_calculator_answers), checked against the rate page's "Through" amounts. Also the Cline Avenue Bridge (all-electronic, E-ZPass / I-PASS or pay by mail) and the St. Francisville bridge (no published amount). RiverLink is in the KY pages.

When to check

Rebuild

bash chain.sh IN; OSM osm/in_* (box -88.10,37.77,-84.78,41.77).

Watch out

The chain every state shares

Hosts: geo1 (192.168.50.220) holds the sources, builders, drafts, map and API; b100 (192.168.50.14) is the test client. All times are Eastern.

whatwhere (geo1 unless said)
sources list/home/geo1/maps/toll/IN/urls.txt (name <tab> URL)
archived sources/home/geo1/maps/toll/IN/sources/<name>/<YYYY-MM-DD>/ (file + meta.json: url, fetched, sha256)
builder/home/geo1/system/handbuilt/in_state.py; shared code toll_common.py
OpenStreetMap inputs/home/geo1/system/handbuilt/osm/in_* (cut from /home/geo1/maps/osm/us-latest.osm.pbf)
outputdraft /srv/toll/draft/IN/ (the builders write here); published /srv/toll/IN/ (copied from the draft by promote.py publish). The map and the API read the published page, or the draft while it is listed for review
toll enginesource /home/geo1/maps/web/tolls.js, served copy /srv/maps/tolls.js (the API runs the served copy)
API/home/geo1/maps/api/server.mjs on 127.0.0.1:8090 behind nginx /api/; pid in logs/test.pid
regression tripsb100: ~/apitest/site/cases.json, runner ~/apitest/run.py, browser check ~/apitest/browser.mjs

1. Refresh a source

  1. Fetch into a new dated folder: python3 /home/geo1/system/handbuilt/fetch_list.py IN [name ...] (no names = every line of urls.txt). A new source: add a line to urls.txt first, then fetch it by name.
  2. A site that refuses geo1 (HTTP 403) or scripts: fetch it on b100 in headless Chrome with node ~/apitest/fetch_b100.mjs <out> <name>=<url> ..., then rsync -a <out>/ geo1@192.168.50.220:/home/geo1/maps/toll/IN/sources/. Its meta.json records that it came from b100.
  3. Compare the new file with the previous dated one (diff, pdftotext -layout for PDFs). Same content: nothing to do. Changed amounts or a new effective date: rebuild (step 2) and update the expected amounts of the affected regression trips from the operator's own figures.

1b. The corpus (NJ, PA, VA start from it; DE is published from it)

python3 /home/geo1/maps/toll/bin/tollup.py IN update fetches the adapter's sources (bin/adapters/in.py), stores a document only when its content changes, writes one rate file per version under /home/geo1/maps/toll/IN/rates/ and appends every price change to history.csv (every run to runs.log). TOLL_WEB=/home/geo1/maps/toll/corpus python3 /home/geo1/maps/toll/bin/publish.py IN writes the corpus /home/geo1/maps/toll/corpus/IN from it (DE: plain publish.py DE writes /srv/toll/DE). Never hand-edit either. Then rebuild the draft (step 2) so it picks up the new rates.

2. Rebuild

3. Load it into the API and test from b100

  1. The API reads the toll pages and tolls.js when it starts. Restart it: cd /home/geo1/maps/api && kill $(cat logs/test.pid); (nohup /home/geo1/maps/node/bin/node server.mjs > logs/server.log 2>&1 & echo $! > logs/test.pid) (it is started by hand, not a service).
  2. From b100 only: python3 ~/apitest/run.py ~/apitest/site/cases.json. Every trip must be OK. Add a trip for every rate or rule you change, with the amount taken from the operator's own source.
  3. Engine change (tolls.js): edit /home/geo1/maps/web/tolls.js, check with /home/geo1/maps/node/bin/node --check, copy to /srv/maps/tolls.js with sudo install -o www-data -g www-data -m 644, restart the API, run the trips.

4. OpenStreetMap refresh (all states at once)

The builders match toll points to the OSM way ids the router drives, so the extracts here must come from the same us-latest.osm.pbf the router (Valhalla, /home/geo1/maps/valhalla_data) was built from (now 2026-09-27). New OSM data means: rebuild the router tiles, then for each state cut the box, rebuild its OSM inputs and run the full chain, then compare untied_toll_nodes.csv and the estimated positions below. The box for IN and the cutting commands are in the state's procedure above; the toll-node and way index comes from python3 tollnode_ways.py IN.

5. Publish

A rebuild writes the draft (/srv/toll/draft/IN); the published page (/srv/toll/IN) does not change. python3 /home/geo1/maps/toll/bin/promote.py review IN lists the draft for review: the map and the API then read it instead of the published page. Run the regression trips from b100. After approval, python3 /home/geo1/maps/toll/bin/promote.py publish IN copies the draft to /srv/toll/IN (the previous page is kept under /home/geo1/maps/toll/IN/published/<time>/) and takes it off the review list. After a change, update the coverage line for IN in the API page (/api.html, generator /home/geo1/maps/api/doc/api_page.py) and rebuild this page: python3 /home/geo1/system/handbuilt/maintain_pages.py IN.

Sources (9)

Each fetch is kept in its own dated folder under /home/geo1/maps/toll/IN/sources/<name>/; the builder always reads the newest one, so a new fetch takes effect at the next rebuild and the old one stays for comparison.

sourcefetched (newest)fetches kepthowlisted in urls.txtrows using it
cline_faq
https://www.clineave.com/tolling-faqs/
2026-10-091fetch_list.pyyes
cline_rates_ezpass
https://www.clineave.com/wp-content/uploads/2026/06/2026-toll-rate-1.png
2026-10-091fetch_list.pyyes3
cline_rates_mail
https://www.clineave.com/wp-content/uploads/2026/06/2026-toll-rate-2.png
2026-10-091fetch_list.pyyes3
cline_tolling
https://www.clineave.com/tolling
2026-10-091fetch_list.pyyes1
itr_app_js
https://www.indianatollroad.org/wp-content/themes/itr/assets/js/app.min.js?ver=10172011220
2026-10-091b100 (192.168.50.14), headless Chrome, rendered page: the site refuses scripts (Cloudflare)yes
itr_calc_page
https://www.indianatollroad.org/toll-calculator/
2026-10-091b100 (192.168.50.14), headless Chrome, rendered page: the site refuses scripts (Cloudflare)yes
itr_calculator_answers
https://www.indianatollroad.org/wp-admin/admin-ajax.php (action=get_toll_rate; the calcula
2026-10-091b100 (192.168.50.14), headless Chrome inside the calculator page (the site refuses scripts): every entry x exit x class no4332
itr_rates
https://www.indianatollroad.org/toll-calculator/rates/
2026-10-091b100 (192.168.50.14), headless Chrome, rendered page: the site refuses scripts (Cloudflare)yes1
visitindiana_cannonball_bridge
https://visitindiana.in.gov/blog/post/cannon-ball-bridge/
2026-10-101fetch_list.pyyes1

Facilities (3)

idfacilityoperatorpointsrate / trip rowseffective dates in the rowssource
IN-ITRIndiana Toll RoadITR Concession Company (Indiana Finance Authority concession)2043322026-07-01itr_rates
IN-CLINECline Avenue BridgeCline Avenue Bridge LLC (United Bridge Partners)162026-01-01cline_tolling
IN-STFRANSt. Francisville Bridge (Wabash Cannonball)State of Illinois (Visit Indiana)10visitindiana_cannonball_bridge

Positions placed by estimate (1): re-check when OpenStreetMap or the operator changes

pointfacilitylocationplaced onwhy
IN-STFRAN-01St. Francisville Bridge (Wabash Cannonball)toll booththe bridge's own OSM way ('St. Francisville Cannonball Bridge', toll=yes); no OSM toll nodeno published amount

Decisions by rule

R2a: 21, R3: 1, as: 1, built: 1, direction: 1, no: 1, not: 2 (all in decisions.csv).

Open gaps (1)

pointfacilitylocationgap
St. Francisville Bridge (Wabash Cannonball)toll boothno state source publishes the toll amount

Untied OSM toll nodes: 34

Toll booths / gantries mapped in OpenStreetMap on or near this state's roads that no toll point claims; a route through one lists it under unpriced. After an OSM refresh, look at new ones here (untied_toll_nodes.csv): a new gantry on a priced road means a point is missing.

Regression trips for IN (7)

Run from b100 (never on geo1): python3 ~/apitest/run.py ~/apitest/site/cases.json. Every trip must come back OK; a changed amount is either a rate change (update the expected amount from the operator's own source) or a fault.

tripexpected
IN Toll Road Chicago -> Ohio line, E-ZPass car ($15.84, calculator)$15.84
IN Toll Road Ohio line -> Chicago, cash car ($15.80, calculator)$15.80
IN Toll Road Cline -> Elkhart, cash car ($9.60, calculator)$9.60
IN Toll Road Middlebury -> LaPorte, E-ZPass car ($5.24, calculator)$5.24
IN Toll Road LaPorte -> Mishawaka, cash 5-axle ($26.20, calculator)$26.20
IN Cline Avenue Bridge, E-ZPass car ($3.25)$3.25
IN Cline Avenue Bridge, pay by mail car ($8.75)$8.75