How we choose your bike route
The goal is to keep you on bike infrastructure as much as possible, with comfortable connections between it. Here’s how we compare the options. We’d love your feedback on the choices and the numbers behind them.
Loading the model…
We’re still testing these weights with riders and transportation professionals. They express our routing preferences; they haven’t been calibrated against crash risk.
Show model details
Copy the infrastructure weight table and full model configuration together to review or share.
1. Find the bike network
We start with our reviewed updates for completed projects, then use PAG’s bike map, with OpenStreetMap filling gaps. The mapped lines need to connect before we can use them in a route. We also check travel direction, access restrictions and barriers. Planned facilities are left out.
A route can use ordinary streets to reach bike infrastructure or connect a gap. The street access at the start and end counts toward distance, riding time and cost, but is kept separate when comparing how much ordinary road the main route uses. Any unmapped gap between your selected pin and the street network is outside the riding-time estimate.
2. Prefer a connected bike route
Streets without bike infrastructure means sections with no mapped bike lane, boulevard, signed route or shared-use path. We compare how far you would need to ride on those streets between bike facilities, excluding your start and destination access. For example, a route with 0.1 miles of these gaps is preferred over one with 0.5 miles, before comparing their scores. This describes mapped coverage, not a measured safety rating.
Then: when that distance is the same, choose the route with the lower cost score.
That means a connected bike route can win even when an ordinary-road shortcut would be faster. There isn’t a general distance or time limit on that tradeoff yet. Tell us if it produces a detour you wouldn’t ride.
3. Add up the route score
Route score = Σ (segment riding minutes × segment weight) + Σ crossing costs + Σ turn costs
Each part of the route gets a weight based on its bike infrastructure and road conditions. We multiply its riding time by that weight, then add any crossing or turn costs. Lower scores are preferred when the routes use the same distance on streets without mapped bike infrastructure.
The score is measured in preference minutes. It helps compare routes; the separate riding-time estimate doesn’t include traffic lights, stops, hills or wind.
Bike infrastructure weights
| Facility | Base weight |
|---|
Speed, lanes and missing information
Missing speed data gets an extra cost rather than being treated as zero. Missing lane counts add a cost where there’s no mapped physical bike lane or path. Separated lanes and shared-use paths don’t get the road-speed or lane-count additions. You can see the final weight for each segment under Route Score.
Crossings and turns
A signal needs to match the intersection or crossing movement you actually use. Passing near a signal doesn’t earn crossing credit. A signal can also serve several junctions on a divided road, while a left turn may still have unknown bicycle protection.
The traffic-light icons show matched crossings and signalized turns along your route. Their positions represent the crossing, rather than the exact signal pole. A missing icon can mean our source or matching is incomplete. The route cautions name major crossings and turns that need a closer look.
A simple example
Imagine one mile on a shared-use path, then half a mile in a painted bike lane on a 35 mph road with two vehicle lanes, followed by one major crossing whose control is unverified.
Why you get different options
The engine looks for up to three different corridors. They can share useful bike infrastructure. It uses temporary search costs to find alternatives, then compares them using the original weights shown here. It also checks for unnecessary loops and whether shortcuts respect turn restrictions.
For a suggested ride under 10 minutes, we hide alternatives that take more than five extra riding minutes. The search has a time limit, so it may not find every useful route.
Model backlog priorities
These are the model improvements we plan to explore next. We’ll update this public list as rider feedback and data reviews shape our priorities.
Status: Suggested, Working, Testing or Deployed.
| Item | Description | Status | Date added |
|---|---|---|---|
| Road surface quality and condition | Logic to experiment with: Test whether rough pavement, unpaved surfaces or poor road condition should increase a segment’s route cost, while preserving the preference for bike infrastructure. Where we plan to look for data: City of Tucson and Pima County public GIS pavement-condition and street-maintenance layers; PAG regional datasets as another possible source. We still need to confirm which datasets are available, their coverage and how recently they were updated. | Suggested |
Have another idea for how routes should be scored? Use Give feedback in the route planner, then choose An idea → Suggest a new routing criterion. Tell us what the model should consider and why; include a possible dataset if you know one.
Help us improve it
- Would you take one of these routes? If not, where would you go instead?
- Is the extra distance worth the bike infrastructure or crossing?
- Do the weights reflect the roads you know?
- Are we missing a lane, connection, crossing or access restriction?
- Do the alternatives give you a useful choice?
Use Give feedback in the planner to flag an issue. We save trip requests, including exact start/end points and route calculations, under a random browser ID so we can investigate. Detailed research records are kept for 180 days; identifier-free summaries are retained afterward. No email or account is required.