One plate for each of 14 Utah ski resorts. The runs, the lifts and the ratings come from OpenStreetMap. Each run is measured at its steepest 330 feet (100 m) on USGS elevation.
ChallengeDay 21: OpenStreetMap
SubjectSki runs and lifts at 14 Utah resorts
Made withPython (GeoPandas, Shapely, NumPy, SciPy, Pillow, Matplotlib), GDAL, Codex image generation for the north mark
A ski resort gives each run a rating: green, blue, black or double black. OpenStreetMap volunteers record that rating with the line of the run. I measured each line where it is steepest.
The measure is the pitch of the steepest 330 feet (100 m) along the mapped line. Pitch is the angle of the slope in degrees. The set has 1,608 runs at 14 resorts. These are the median values for each rating:
Green: 12.6° (215 runs)
Blue: 19.7° (600 runs)
Black: 28.0° (600 runs)
Double black: 34.9° (193 runs)
Each step up the ladder adds about 7 or 8 degrees.
Each resort rates against its own mountain
The ladder moves from resort to resort. The median black run at Brian Head measures 21.4° (17 runs). The median blue run at Solitude measures 22.1° (39 runs).
I compared the resorts that have at least eight runs of a rating:
The median blue run goes from 14.3° at Eagle Point to 22.1° at Solitude.
The median black run goes from 21.4° at Brian Head to 30.8° at Sundance.
The ratings also overlap. 13 of the 600 blue runs are as steep as the median black run, or steeper. 39 of the 600 black runs are no steeper than the median blue run.
Steepness is only one part of a rating. The map does not measure the other parts, such as the width of a run.
Most runs face north
OpenStreetMap has 719 miles (1,157 km) of downhill line at the 14 resorts. About 58 percent of that length faces northwest, north or northeast. About 17 percent faces southeast, south or southwest.
Each plate has a compass rose for its resort. A longer wedge means that more of the run length faces that direction.
The 14 plates, north to south
Each plate has the same parts. Select a plate to see it at full size.
Beaver Mountain. 47 named runs and 6 lifts in OpenStreetMap. The label marks Robinson's Rim, 30° at its steepest.Cherry Peak. 42 named runs and 4 lifts in OpenStreetMap. The label marks Fracture Zone Bowl, 37° at its steepest.Powder Mountain. 188 named runs and 14 lifts in OpenStreetMap. The label marks Waterfall, 43° at its steepest.Nordic Valley. 40 named runs and 6 lifts in OpenStreetMap. The label marks Pine Creek, 35° at its steepest.Snowbasin. 136 named runs and 13 lifts in OpenStreetMap. The label marks Mt. Ogden Chute, 49° at its steepest.Park City Mountain. 344 named runs and 41 lifts in OpenStreetMap. The label marks East Face, 43° at its steepest.Deer Valley. 232 named runs and 34 lifts in OpenStreetMap. The label marks Daly Chute 4, 42° at its steepest.Solitude. 84 named runs and 9 lifts in OpenStreetMap. The label marks Honeycomb Chutes, 47° at its steepest.Brighton. 62 named runs and 8 lifts in OpenStreetMap. The label marks Rein's Run, 40° at its steepest.Alta. 106 named runs and 11 lifts in OpenStreetMap. The label marks Rustler Four, 45° at its steepest.Snowbird. 184 named runs and 14 lifts in OpenStreetMap. The label marks Chamonix Chutes, 46° at its steepest.Sundance. 63 named runs and 10 lifts in OpenStreetMap. The label marks Wonderboy, 40° at its steepest.Eagle Point. 36 named runs and 6 lifts in OpenStreetMap. The label marks Donner's Descent, 28° at its steepest. The resort is closed for the 2026 to 2027 winter.Brian Head. 61 named runs and 13 lifts in OpenStreetMap. The label marks Devo's Pitch, 28° at its steepest.
How to read a plate
The map shows the runs in the color of their rating: green, blue, black, and red for double black. A gray line is a run that has no rating in OpenStreetMap.
Gold lines are lifts. Each lift that has room for a label has its name.
One label marks the steepest 330 feet of one run. That run is the steepest named black or double black run at the resort. Eagle Point has no double black runs in the data.
The chart at the right has one mark for each run, in a column for each rating. The number below a column is its count of runs.
The small profile shows the labeled run from top to bottom at true scale. The red part is its steepest 330 feet.
The compass rose shows which way the runs face.
The small map of Utah shows where the resort is, with its latitude and longitude.
The two lines below the map give the lowest and the highest end of a lift. The lift-served vertical is the difference.
Small triangles are peaks, with elevations from OpenStreetMap.
Some wide resorts are turned a quarter turn, so that the uphill side is at the top. The snowflake north mark and the compass rose turn with the map. The light on the terrain always comes from the upper left of the page.
Inside the scripts
Two Python scripts make the plates.
day21_ski_data.py reads the runs and lifts, gets the elevation, and measures each run.
day21_ski_plate.py draws the plates and the chart of all 14 resorts.
The excerpts below pass the default checks of the ruff linter and use its code format.
This function measures one line. It reads the elevation at a point every 33 feet (10 m). Then it finds the 330 feet with the largest change in elevation.
def measure(line, dem):
n = max(int(line.length // STEP_M), 2)
xy = shapely.get_coordinates(
shapely.line_interpolate_point(line, np.linspace(0, line.length, n + 1))
)
z = dem.sample(xy)
step = line.length / n
k = max(round(WINDOW_M / step), 1)
if len(z) <= k:
return float("nan"), float(z.min()), float(z.max()), None
grade = np.abs(z[k:] - z[:-k]) / (k * step)
i = int(grade.argmax())
pitch = float(np.degrees(np.arctan(grade[i])))
return pitch, float(z.min()), float(z.max()), tuple(xy[i + k // 2])
From day21_ski_data.py. WINDOW_M is 100 and STEP_M is 10. The last value is the middle of the steepest part, for the label on the map.
This part makes the gray shading of the terrain before the winter colors. Light comes from four directions. Each light counts more on a slope that faces it.
gy, gx = np.gradient(z, cell)
slope = np.arctan(np.hypot(gx, gy))
aspect = np.arctan2(gy, -gx)
zen = np.radians(90 - alt)
out = np.zeros_like(z)
for az in (225, 270, 315, 360):
a = np.radians(90 - az)
out += np.cos(aspect - a) ** 2 * (
np.cos(zen) * np.cos(slope)
+ np.sin(zen) * np.sin(slope) * np.cos(a - aspect)
)
flat = math.cos(zen)
return np.where(slope > 0, np.clip(out / 2, 0, 1), flat), flat
From day21_ski_plate.py. This is the multidirectional hillshade of the GDAL gdaldem tool, written with NumPy.
Method
The runs, lifts, ratings, resort areas and peaks come from OpenStreetMap. I used the Geofabrik extract for Utah of November 2, 2026, and read it with GDAL.
I chose 14 resorts. Each one is a winter sports area in OpenStreetMap. Woodward Park City is not in the set, because only two of its runs pass the rule below.
A run is all the mapped lines at one resort that have the same name and rating. A line that has no name is a run by itself. The set has 1,533 runs with names and 75 lines without names.
OpenStreetMap has more rating values than four. Novice and easy are green here. Intermediate is blue. Advanced is black. Expert, freeride and extreme are double black.
A run must be at least 500 feet (152 m) long and must drop at least 100 feet (30 m). This rule removes flat trails that connect other runs. The rule and the ratings remove 316 of 1,924 runs: 229 are too short, 71 drop too little and 16 have no rating.
The elevation is from the USGS 3D Elevation Program, on a 5 m (16 ft) grid in UTM zone 12 north.
The terrain uses a multidirectional hillshade with winter colors, after the relief methods of Eduard Imhof and John Nelson. Shadows are blue-violet and sunlit slopes are cream.
The run colors are multiplied into the terrain, so the shading shows through the lines. The lifts are drawn on top.
The compass rose counts the run length that faces each of eight directions. Ground flatter than 3° is not counted.
Each plate is 2160 by 2700 pixels. The same script also draws each plate at 16 by 20 inches for print.
The snowflake of the north mark is a picture from Codex image generation. The scripts set every word and number.
Limits
The pitch follows the line that a mapper drew, not the fall line. A line that crosses a slope at an angle reads less steep than the slope. A line that crosses a cliff band can read too steep.
The 5 m elevation grid smooths short, steep steps.
The ratings are a record of each resort's signs by volunteer mappers. Some ratings can be old or wrong.
The counts of runs and lifts are the mapped counts. They are different from the counts that the resorts publish.
I did not compare the measured angles with published slope angles. The highest value is 48.9° for Mt. Ogden Chute at Snowbasin.
Eagle Point is closed for the 2026 to 2027 winter after the Cottonwood Fire. Its plate shows the runs and lifts that OpenStreetMap had on November 2, 2026.
The green and the red lines can look alike to a person with red-green color blindness. The charts also use a different shape for green, blue and black.