Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

What happens in an access study?

At a high level, BAMBAM takes a multimodal transportation network and a study region, divides the study region into a spatial grid of origins, simulates travel outward from each grid cell across any configured set of unimodal and multimodal trip types, and measures the reachable destinations across travel-time, distance, or energy thresholds.

1. Grid Generation & Population Weighting

Rather than evaluating access from arbitrary points, BAMBAM tessellates the study area into a regular spatial grid—by default, H3 resolution 8 hexagonal cells (each covering approximately \(0.74\text{ km}^2\)). Population data from the U.S. Census American Community Survey (ACS) is spatially apportioned to each grid cell based on areal overlap, allowing accessibility metrics to be weighted by the population they serve (see Grid and Population Input Plugin).

2. Mode & Trip-Chain Expansion

From the centroid of each grid cell, BAMBAM expands the query across all configured travel modes and multimodal trip chains. While our introductory quickstarts begin with a baseline walk, bike, and drive network, BAMBAM models each mode as a dedicated edge list sharing a common vertex set—allowing you to evaluate both single-mode trips and multi-leg trip chains (see Multimodal Routing Constraints):

  • Active Modes (walk, bike): Travel on links accessible to pedestrians or cyclists, optionally filtered or weighted by infrastructure comfort such as Walk Comfort Index (WCI) and Level of Traffic Stress (LTS) (see Modal Comfort Metrics).
  • Driving (drive): Travels on the drivable road network (using posted speeds or time-of-day congested operating speeds), optionally beginning with a short first-leg walk to reach a parked vehicle.
  • Public Transit & Shared Mobility (transit, gbfs, gtfs-flex): Combines walking, cycling, or driving legs with scheduled transit (GTFS), shared micromobility (GBFS), and on-demand microtransit (GTFS-Flex)—enforcing realistic mode-transition sequences, transfer limits, and per-leg or per-mode time and distance budgets (such as walk-to-transit, micromobility-to-transit, or kiss-and-ride).

3. Map Matching

Grid cell centroids rarely fall directly on a roadway centerline. Before routing begins, BAMBAM snaps each origin to the nearest network link permitted for the trip’s starting mode within a spatial tolerance (about \(0.53\text{ km}\) by default, matching the characteristic edge length of an H3 resolution 8 hexagon).

For each origin and configured trip mode, BAMBAM searches outward across the multimodal network to build a minimum-cost search tree up to the configured trip budgets (by default, a maximum travel time \(T_{\max} = 40\text{ minutes}\)).

  • Link costs and state variables are updated dynamically across modes—combining fixed or grade-adjusted active speeds, roadway speed limits or congested speeds, timetable-scheduled transit departures, and micromobility or microtransit boarding and dwell rules.
  • Any branch of the search terminates once it violates a multimodal transition rule or exceeds its cumulative travel-time, distance, or leg budget.

Note on Network Buffering: Because a 40-minute highway drive or regional rail trip can cover up to 40 miles, the underlying transportation network should extend well beyond the boundary of the study grid so trips originating near the edge of the study area are not artificially cut off.

5. Destination Filtering & Binning

Rather than reporting only a single total at \(T_{\max}\), BAMBAM filters reached tree branches for valid trip-ending states (for example, ensuring a traveler is not mid-ride inside a no-parking micromobility zone), deduplicates vertices reached via multiple mode sequences, and partitions destinations into cumulative intervals (see Binning and Destination Filtering). By default, destinations are binned by travel time at \(10, 20, 30,\text{ and }40\text{ minutes}\), though bins can also be defined by travel distance, energy consumption, or customized per mode. For a time bin \(b \in \{10, 20, 30, 40\}\), the reachable set includes all valid destinations reachable from origin \(i\) by mode \(m\) in travel time \(t_{ij}^m \le b\).

6. Isochrones

For each bin, BAMBAM constructs an isochrone—a polygon representing the geographic travel shed reachable within that threshold (e.g., \(10, 20, 30,\text{ or }40\text{ minutes}\)). Points are sampled along reached network geometries, and a concave hull is fit around them to capture the shape of the reachable watershed (see Isochrone Generation).

7. Opportunities & Composite Metrics

Finally, BAMBAM measures cumulative opportunity access within each bin (see Opportunity Sources and Opportunity Models). Employment and point-of-interest locations—such as U.S. Census LODES workplace employment records, Overture Maps places and buildings, or custom tabular datasets categorized into jobs, retail, healthcare, food, services, and entertainment—are spatially attached to the network. For each origin \(i\), mode \(m\), activity type \(k\), and threshold \(b\), BAMBAM sums the reachable opportunities:

\[A_{i,m,k}(b) = \sum_{j : t_{ij}^m \le b} O_{j,k}\]

where \(O_{j,k}\) is the number of opportunities of type \(k\) at destination \(j\). Optionally, BAMBAM can evaluate mathematical expressions directly on these binned counts in memory to produce composite indices such as the Mobility Energy Productivity (MEP) score (see Post-Processing Opportunities with the Eval Plugin).


Try It Out

To get started hands-on, the next two chapters walk through building a baseline walk / bike / drive network and running your first access study before layering on additional modes and features: