Commit Graph
17 Commits
Author SHA1 Message Date
swaits 7e4d1de494 Make the monthly place check download every outline again instead of reusing the first-run files 2026-11-20 12:11:26 -07:00
swaitsandClaude Sonnet 5.5 2186ca8216 Add the park units and ranges that trails with no track are placed in, place the tracked trails in them, and keep the history heading when apply rewrites place tables
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:21:34 -07:00
swaitsandClaude Sonnet 5.5 246e2938f2 Put a placed range's parents in the registry when apply writes it
Records never store parents, so apply left Rocky Mountains and the other great systems out
of places.toml while a child's within named them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:53:49 -07:00
swaitsandClaude Sonnet 5.5 2fbce06f42 Spell place slugs and names without accent stumps and capitalised small words
Gaspésie came out as gasp-sie, Lion's Head as lion-s-head and Forks of The Credit kept a
capital T.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:52:10 -07:00
swaitsandClaude Sonnet 5.5 44fbb0405b Leave trails with no track out of apply, for a person to place
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:51:44 -07:00
swaitsandClaude Sonnet 5.5 1767bf4789 Reach a trail just outside a source outline that is drawn tighter than the range
GMBA draws the Adirondacks by relief and its outline stops about 21 km east of Cranberry
Lake, so the 80 km Cranberry Lake 50 loop, inside the Adirondack Park, was in no range.
The cause is the source's outline, not the trail: an allow-list entry can now push a
range's outline out (grow_km, with grow_clip to keep it off ground it should not reach),
and the Adirondack Mountains use it so the loop is placed without a rule for one trail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:51:35 -07:00
swaitsandClaude Sonnet 5.5 8da26e5c1d Replace the draft range allow-list with the reviewed one
The 25 ranges the first run's digest kept, plus the named ranges whatever their tracked
count (trails with no track will be added to them by hand): Wind River, Teton, Uinta,
Wasatch, San Juan, Sawtooth, Beartooth, Absaroka, Bitterroot, Great Smoky Mountains,
Canadian Rockies, Olympic, White Mountains, Bighorn, Sangre de Cristo, Wallowa, Ruby,
Trinity Alps, Selkirk, Brooks, Alaska Range, Ouachita and Catskill. The source has no Ozark
Mountains (only the Ozark Plateau), so that one is left out. A range's within names its
great system only, so at most two kept levels apply to a trail. Sequoia and Kings Canyon
are joined again and Glacier gets the slug glacier.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:51:35 -07:00
swaitsandClaude Sonnet 5.5 39902f5425 Ask the Canadian source for every province's parks, not only Alberta and British Columbia
The first run filtered CPCAD to LOC IN (1,2), so Ontario (LOC 9) and Quebec (LOC 11)
parks never came back: a bug in the query, not a gap in the data. The query now
selects by park designation across all locations, adds National Park Reserve, and
reads each park's province from LOC.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:44:47 -07:00
swaitsandClaude Sonnet 5.5 e42398589a Keep Gateway Arch National Park out of the places, with a deny-list for such cases
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:40:44 -07:00
swaitsandClaude Sonnet 5.5 c704139e5b Read the state fields that join states with a hyphen
NPS writes MO-IL, ID-MT-WY and TN-NC, and the old split on commas and slashes
dropped those places' states.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:40:37 -07:00
swaitsandClaude Sonnet 5.5 e59c152e7c List a park and not its same-trail wilderness twin
When a wilderness area and a national park hold exactly the same trails and one
name's words contain the other's, only the park is kept, so Sequoia and Kings
Canyon and Yosemite do not get two pages. The rule runs on the tracked sets in
propose and on every record's tracked and stated places in --check.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:39:51 -07:00
swaitsandClaude Sonnet 5.5 2302734742 Make one name within a kind one place, with every source id it carries
The range source lists six ranges twice under different ids (Mount Whitney Group,
Palisades, Southern Adirondacks and others). They are now one place with both ids
and the union of the two outlines, so no slug carries a numeric suffix.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:39:21 -07:00
swaitsandClaude Sonnet 5.5 3a3f04ac36 Give a place the states it lies in, not the states its visitors come from
A registry entry's where now comes from the outline's own source (the NPS and
Wilderness Connect state field, the CPCAD province code), else from the state
boxes in web/place-bounds.toml, else a hand value in the allow-list. A reviewed
where already in places.toml is kept on a re-run.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:38:56 -07:00
swaits d432d6a296 Keep parent ranges off the record when a child range holds the trail 2026-11-20 10:04:08 -07:00
swaits ecd9d455f2 Let place_trails.py write records, stated placements and the monthly check 2026-11-20 09:33:41 -07:00
swaits edf7711f9c Add the outline catalogue and proposal to place_trails.py 2026-11-20 09:30:50 -07:00
swaits 1fcdf866ea Add the place measuring geometry to place_trails.py 2026-11-20 09:25:27 -07:00