Hpms Aadt

v0.1.0
io.github.pipeworx-io/hpms-aadt Checked 9 hours ago Published 1 month ago

FHWA, Highway Performance Monitoring System (HPMS): annual average daily traffic (AADT) per…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

aadt_near_point

US road traffic volume (AADT, annual average daily traffic) for road segments within a radius of a lat/lon, busiest first. Data: FHWA Highway Performance Monitoring System, per roadway section as reported by the state (not a counter reading). state is required. Returns route_id, functional class, AADT with single-unit and combination-truck splits, milepost range, data_year.

ParameterTypeDescription
lat *numberLatitude, WGS84 decimal degrees.
lon *numberLongitude, WGS84 decimal degrees (negative in the US).
state *stringTwo-letter USPS state code (50 states, DC, PR), e.g. "CA". Required: route_id and county_id are state-specific.
limitnumberMax segments (1-500, default 50).
radius_mnumberSearch radius in metres (10-5000, default 500).
yearnumberHPMS data year (e.g. 2024). Default: newest year published for the state. Call aadt_layers to see which years exist.

aadt_by_route

US road traffic volume (AADT) for segments of a named route in one state, from FHWA HPMS. route is a case-insensitive PREFIX of the state's route_id (state-specific free text, e.g. "I089" in Vermont, "IH0035" in Texas, "SHS_101" in California); use aadt_top_segments to see a state's id style. A highway may carry several ids (e.g. IH0035-KG, IH0035-LG). Busiest segments first.

ParameterTypeDescription
route *stringroute_id prefix, e.g. "I089", "IH0035", "SHS_101".
state *stringTwo-letter USPS state code (50 states, DC, PR), e.g. "CA". Required: route_id and county_id are state-specific.
countynumberOptional state-coded county_id (county FIPS code).
limitnumberMax segments (1-500, default 50).
min_aadtnumberOptional minimum AADT.
yearnumberHPMS data year (e.g. 2024). Default: newest year published for the state. Call aadt_layers to see which years exist.

aadt_top_segments

The busiest road segments in a US state by AADT (annual average daily traffic), optionally within one county or functional class (1 Interstate ... 7 Local). From FHWA HPMS; per roadway section as reported by the state. Also the way to learn a state's route_id naming style.

ParameterTypeDescription
state *stringTwo-letter USPS state code (50 states, DC, PR), e.g. "CA". Required: route_id and county_id are state-specific.
countynumberOptional state-coded county_id (county FIPS code).
f_systemnumberOptional functional system 1-7: 1 Interstate, 2 other freeway, 3 other principal arterial, 4 minor arterial, 5 major collector, 6 minor collector, 7 local.
limitnumberMax segments (1-500, default 50).
yearnumberHPMS data year (e.g. 2024). Default: newest year published for the state. Call aadt_layers to see which years exist.

aadt_layers

Which FHWA HPMS data years exist for a US state and which columns each year carries (the newest years drop route number/name columns), so callers can pick a year before querying.

ParameterTypeDescription
state *stringTwo-letter USPS state code (50 states, DC, PR), e.g. "CA". Required: route_id and county_id are state-specific.