Thursday of Week 12. Tuesday built the idea from the original least cost path lecture: a cost surface, the accumulated cost and back link rasters, a path walked home from the destination. Today: the tools ArcGIS Pro wants you to use now, Lab 11's own route computed from the lab's own model and data, and the question that matters to an engineer, which of its decisions actually moved the line. Every Lab 11 map and number comes from the lab's reference run (tools/lab11/run_model.py, check_values.json), drawn by tools/week12_lcp_figures.py; the Distance Accumulation and Optimal Path As Line captures are the lab's own Figures 7a and 7b, from the October 9, 2026 build of the lab in ArcGIS Pro 3.7.1 (C:\Ames\Lab11GUI\Lab11.aprx, ready for a live demo).
stamp:begin
stamp:end
The right-hand figure is where the hour ends: not one route but a corridor of nearly-as-good ones, between Lab 11's two endpoints.
A 6 x 5 grid of 100 m cells, cost 1 (light) and 4 (dark), run through Distance Accumulation in ArcGIS Pro. Each number is the accumulated cost; each arrow is the back direction raster's value, drawn as a compass bearing. Read one aloud: the cell left of the source holds 400 and points east (90 degrees), straight home. Note the arrows that are not at 45-degree steps: 193, 121, 229 degrees. That is new, and it is the next section. The distinction between the first two bullets is the one Tuesday's quiz showed half the room missing.
A capture of the Geoprocessing pane in ArcGIS Pro 3.7.1, October 9, 2026. The notice is the tool's own; it links to Esri's deprecation page. Tuesday's lecture and Lab 11's current handout were written with the legacy tools; the concepts carry over unchanged, and Part 2 shows the two sets give the same route on Lab 11's data.
Lab 11's own Figure 7a: the routing step of the lab's model, filled in as the page tells students to. Source_Point and Destination_Point come from two Select tools on Endpoints. The barrier input takes the lakes as features; Cost Distance had no barrier input, so a barrier had to be NoData in the cost raster. Leave Input Surface Raster empty: that measures distance over the terrain's actual surface, a different question from cost. In Lab 11 the same tool, with only a source, also makes the three straight-line distance rasters.
Lab 11's own Figure 7b. Destination Field fills in with UGRC_OID; with one destination it does not matter, nor does Path Type. The route it draws in the lab is 56.09 km. The old handout ended with Raster to Polyline because Cost Path only made a raster.
Both tools' real output on the same six 100 m cells, cost 1, 1, 4, 1, 1, 1, from the left. Legacy: 100 + (1+4)/2 x 100 = 350 at the dark cell; Distance Accumulation: 100 + 4 x 100 = 500. By the next cell both say 600. This is the rule Tuesday's grid slide described for the legacy tool; do not apply the "average of two cells" arithmetic to Distance Accumulation's numbers. Skip this slide if time is short.
The angles are read straight off the back direction raster on the toy grid. On Lab 11's cost surface the legacy chain (Cost Distance with its back link, Cost Path, Raster to Polyline; lakes as NoData) gives 58.49 km against 56.09 km: much of the extra 2.4 km is the staircase.
Lab 11's model, from the hosted package at 30 m (tools/lab11/run_model.py): four scores from 1 (cheap) to 10 (expensive), slope in degrees, straight-line distance to a major road, to a city (0 inside one) and to an existing 46-345 kV line, plus 10 on every cell a major stream crosses, added with both weights at 1. The sum runs from 4 to 48, mean 23.69. Score tables are on the lab page's Analysis Considerations.
The colors are Distance Accumulation's raster, the white lines its contours; the red line is Optimal Path As Line. The accumulated cost at the destination is 744,018 (cost x meters). It crosses 4 major streams. 92.8% of it lies within 1 km of a major road. Numbers: tools/lab11/check_values.json, the same values the lab page publishes.
The twilight color ramp wraps around, so 0 and 360 (both "north") look alike. The seams are the boundaries between regions whose cheapest way home goes different ways around an obstacle; a destination on a seam has two nearly equal routes, which is the corridor slide's point. Skip if time is short.
Ninety seconds, a show of hands for each letter. Most of the room picks A, B or D: terrain, cities and barriers feel like the big constraints. The answer is C. The next two slides are the answer.
Measured on Lab 11 (tools/lab11/check_values.json and explore_weights.json; the farthest distance is from the baseline route, sampled every 100 m): Slope_Weight 5 55.73 km, 94% within 300 m; Slope_Weight 0 within 122 m; city weight 0 (changed in the expression, not a Lab 11 parameter) 56.40 km, 100% within 300 m, every cell of the baseline route has city score 10; no barrier 56.03 km, 97% within 300 m. Lab 11's Step 9 asks students to find the slope result themselves; do not give the numbers before they run it. Each would matter in another place, or with other scores: that is the lesson, not that slope and cities never matter.
The thick pale red line in each panel is the baseline, for comparison; yellow lines are the existing transmission lines. Line_Weight 0 puts only 26% of the route within 300 m of the baseline; road weight 0 (changed in the expression, not a Lab 11 parameter) 55%. This is why Lab 11's personal number is a Line_Weight between 0 and 0.495: it is the factor that moves the route, and below about 0.5 is where it does. The rubric's question "what would you change to make the model more realistic?" starts here.
The sum was computed with Raster Calculator on the two accumulation rasters; ArcGIS Pro also has a Corridor tool in Spatial Analyst that does the same sum (seen in the Geoprocessing search on October 9, 2026; not run for this deck). On Lab 11's cost surface the band is narrow near both endpoints and wide along the valley floor, where several nearly equally cheap routes exist; the lake barrier bounds it on the west. An engineer presents the corridor to a siting board, then picks a line inside it for reasons the cost surface never saw: land ownership, a tower foundation, a landowner's objection.
Legacy check on Lab 11's cost surface: Cost Distance (lakes as NoData) + Cost Path (each cell) + Raster to Polyline gives 58.49 km; sampled every 100 m it is a median 184 m from the Distance Accumulation route, 95% within 670 m, all within 788 m. Lab 11 uses only the current tools.
Four minutes, in pairs. If the room has no signal, put the URL on the board.
Deck written October 9, 2026, as the second least cost path lecture, building on Tuesday's deck (itself converted from "CE 414 Week 11 - Least Cost Path Analysis.pptx"); realigned the same day with the rebuilt Lab 11. Figures and numbers: tools/week12_lcp_figures.py (toy grids, and Lab 11's reference run from tools/lab11/run_model.py; numbers in tools/week12_lcp_numbers.json). The Cost Distance capture is from an ArcGIS Pro 3.7.1 session at 175 %; the other two tool captures are Lab 11's Figures 7a and 7b.