Skip to content

Research Task - EQI Traffic Proximity and Volume Indicator #2152

Description

@hhmckay

Research Task

Develop Python scripts to operationalize the EQI's traffic proximity and volume indicator.

  1. Load and prep the road data. Read the road network, keep only major roads
    (F_SYSTEM 1 and 2), reproject to a meters-based CRS (EPSG:3310), and drop Z/M coordinates.

  2. Load the hexagon grid and reproject it to the same CRS.

  3. For each buffer distance (50, 100, 150 … up to 500 meters):

    1. Buffer every road by that distance.
    2. Intersect the buffered roads with the hexagon grid.
    3. Within each hexagon, where road buffers overlap, merge the geometry and take
      the maximum AADT (to avoid double-counting).
    4. Calculate the area of buffered road that falls inside each hexagon.
    5. Compute weighted_aadt = AADT × area, then sum per hexagon to get that distance's score.
    6. Store the result in a column named aadt_<distance> (e.g. aadt_50).
  4. Combine all distances into one table, so each hexagon has cumulative scores
    aadt_50 through aadt_500. Fill missing values with 0.

  5. Convert cumulative buffers into distance bands. Since each buffer contains the
    smaller ones, subtract consecutive buffers to isolate each ring
    (e.g. p_100_m = aadt_100 − aadt_50).

  6. Apply distance-decay weights so closer traffic counts more (0–50 m = 1.0,
    50–100 m = 0.5, then 0.33, 0.25 … down to 0.1 for the outermost ring). Sum the
    weighted bands into a single weighted_aadt_score per hexagon.

  7. Rank the scores into a percentile (traffic_proximity_and_volume_percentile)
    across all hexagons.

  8. Merge the scores back onto the hexagon grid and fill missing values with 0.

  9. Output: rename the score as a "partial" traffic score and merge it with the
    full_traffic_impact table.

  • Expected Outputs / Findings: what do you hope to have created when this is complete?

Metadata

Metadata

Assignees

Labels

research taskSub-issues within research request epics

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions