Skip to content

fix: add User-Agent header and retry logic for Overpass API requests - #1

Merged
lmz merged 1 commit into
mainfrom
build-base-year-network-standard
Sep 14, 2026
Merged

lmz merged 1 commit into
mainfrom
build-base-year-network-standard

Conversation

@jdahren

@jdahren jdahren commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes fetch_toll_gantry_nodes(), which was blocking a successful base year network build. The Overpass API request was rejected with a 406 (missing User-Agent header) and intermittent 504 gateway timeouts. Adds a User-Agent header and retry-with-backoff logic. Can once again build base year network in standard format with create_mtc_network_from_OSM.py

@jdahren
jdahren requested a review from lmz September 14, 2026 21:39
@lmz
lmz merged commit 56b59d5 into main Sep 14, 2026
1 of 2 checks passed
@jdahren
jdahren deleted the build-base-year-network-standard branch September 16, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants