Commit Graph
138 Commits
Author SHA1 Message Date
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 c29f9370fe Keep the place tool's venv out of the validator's file-size walk 2026-11-20 10:20:10 -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 0b929aa01e Open the nested wilderness shapefile and read pyogrio's columns as this version returns them 2026-11-20 09:43:45 -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
swaits 18dff9650d Validate places.toml and the record's place fields 2026-11-20 09:24:18 -07:00
swaits aad93a246c Add the schema for the place registry and the record's place fields 2026-11-20 09:21:16 -07:00
swaits fe2306d90b Pin the built state, group and state-list pages with a golden test 2026-11-20 09:19:48 -07:00
swaitsandClaude Fable 5.2 b0ddaeac48 Add designs and plans for park, range and wilderness pages and for a season on every trail
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 09:16:16 -07:00
swaitsandClaude Fable 5.2 b9977094ba List the Glacier loop as the North Circle, its common name, with a track from the park's trails
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:18:41 -07:00
swaitsandClaude Fable 5.2 d0de683427 Append the three new records to trail-numbers.txt
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:41:33 -07:00
swaitsandClaude Fable 5.2 868cb02246 Correct the three new records after audit: Crown Valley start position removed, Grand Tour caution and guide entry, provenance wording, High Sierra Camp Loop reasons
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:33:49 -07:00
swaitsandClaude Fable 5.2 fad3e54ba0 Add Middle Fork Kings River, Central Wilderness Grand Tour and High Sierra Camp Loop; leave out High Trinity Alps Traverse, Ruby Crest Trail and Northern Golden Trout Tour
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:33:49 -07:00
swaitsandClaude Fable 5.2 bf7ff0e52c Note the short saved-list link in the changelog
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 07b023f31b Saved page: write a short ?s= link once a list passes ten trails
Up to ten trails the link stays ?t=id,id,... With more it is a version
character and a base64url bit set over the trails' permanent numbers
(trail-numbers.txt), 70 characters for any list instead of 1,013 for 49
trails. Both forms open for good; ?s= wins when both are there; a retired
or unknown number is ignored and a code that cannot be read shows the page's
existing no-trails state. A short link does not keep the order saved, so
that list opens A to Z.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 358f0c4928 Give every trail a permanent number in trail-numbers.txt, and check it is only appended to
The Saved page's short links will be bit sets over these numbers, so a number
must never change or be reused. The registry is one id per line, seeded
alphabetically; build_index appends new records; the validator fails on a
record with no line, a repeated id or a malformed line; check_history fails
when an earlier line is changed, moved or removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 15:19:50 -07:00
swaitsandClaude Fable 5.2 6440e43176 Send the Circle of Solitude to the guidebook in print that carries it
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:58:04 -07:00
swaitsandClaude Fable 5.2 35fbed3be9 Say that search reads places, and note the search and distance changes in the changelog
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:28:10 -07:00
swaitsandClaude Fable 5.2 d89a5f0da7 Add Nearest to me to every list's sort control
Choosing it asks the browser for the visitor's position once and orders the list by straight-line
distance to the nearest point of each trail's track on the overview map (or its start and end,
where it has no track), shown on each row in miles or kilometres. The position stays in the page:
it is not stored, sent or put in the address. Trails with no position go last and are counted;
a refused or failed request puts the list back in its earlier order with a plain line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:09:16 -07:00
swaitsandClaude Fable 5.2 3ff2281129 Search reads more than the name: summary, places, author and land unit, strongest matches first
Each row's search words come in four tiers (name and abbreviation, author, the full names of
the states, provinces and countries plus where it starts and ends and the land unit or body its
record names, and the summary). Typed words match at the start of words in any order, without
regard to case, accents or apostrophes, and the strongest matches come first. A row that matched
only beyond its name says where in one quiet line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:04:13 -07:00
swaitsandClaude Fable 5.2 ffc342b590 Note the browsing changes in the changelog
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:42:57 -07:00
swaitsandClaude Fable 5.2 5f35a5b043 Point a trail page's correction link at the correction form, not the raw file editor
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 dea144fd11 Say how many trails a month filter leaves out for having no season on file, with a way to show them
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 92ee879399 Say that permits are not on file when a trail's record has none
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 8f58103a45 Put the closest in length first among the other trails of the same state on a trail page
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 07da53721f Give every state and province with no listed trail a page that says so
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 0870287fe5 Link the left-out list from the no-results state, and the rules and changelog from the footer
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 985eaa2074 Offer every trip-length band in the home page's shortcut row, and fade its edge on a phone
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 5b0219eaea Open place and region pages with the trails wholly in the place first
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:27:01 -07:00
swaitsandClaude Fable 5.2 0956da14dd Rebuild the Bartram Trail's track from the Forest Service's own lines
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:23:32 -07:00
swaitsandClaude Fable 5.2 8c650804cc Give the Rae Lakes Loop its track from the Park Service's own layer
The loop is 57.3 km in 1 part from the Park Atlas Rae Lakes Loop layer, public
domain; the 3.0 km stem from Road's End is kept in the alternates. Bartram,
Bay Circuit and Western Uplands were checked against public layers and left
unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:15:12 -07:00
swaitsandClaude Fable 5.2 978514a43e Fit the guide change to the catalogue: Siskiyou Peaks guide, Circle of Solitude sources, and honest no-GPX wording
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 13:01:07 -07:00
swaitsandClaude Fable 5.2 1601f7c755 Name the exact book or guide for every route, and link to it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:47:25 -07:00
swaitsandClaude Fable 5.2 68fc0961b2 Give the High Sierra Trail its full track from agency data and the Highline Trail one piece from OpenStreetMap
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The High Sierra Trail runs from Crescent Meadow to Whitney Portal, 105.7 km,
from the Park Service's High Sierra Trail layer and the Forest Service's Mount
Whitney Trail, both public domain. The Highline Trail is OpenStreetMap
relation 4188405, 93.2 km in one piece, where the Forest Service layer held
71.5 km in 3 parts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:44:16 -07:00
swaitsandClaude Fable 5.2 a233702ac9 Move the ways with the role route into the Great Eastern and Maricopa tracks
12 ways (10.4 km) and 25 ways (11.7 km) that the old rule had put in alternates
are main-line ways joining parts of each track: 2,358.7 km in 28 parts and
470.5 km in 18 parts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:44:16 -07:00
swaitsandClaude Fable 5.2 5dc9d3e06c Treat relation members with the role route as main in the track tool
OpenStreetMap's wiki gives the role route as the old name of the empty role,
along with the cardinal-direction roles. The tool treated every role outside
its two lists as a side trail, which dropped 36 of the 49 ways of the Teton
Crest Trail relation. Roles the wiki does not define now stop the run, unless
every member has the same one, so no ways are dropped without a message.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:44:16 -07:00
swaitsandClaude Fable 5.2 59cc1962d4 State why Rae Lakes, Timberline and Grand Teton are listed plainly, accept the left-out redirects in the test, and add the quick wins to the changelog
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:17:41 -07:00
swaitsandClaude Fable 5.2 0e8b5c8ca4 Make track clicks land, open the data files to other sites, and tidy descriptions, redirects and printing
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:03:54 -07:00
swaitsandClaude Fable 5.2 f2235c420d Move the Kekekabic and Pukaskwa Coastal trails to the left-out list, keep Timberline, and write out the rule for shorter trails
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The Gila loop's chosen start is removed: the Forest Service names none.
The "under review" sentence is no longer accepted by the data check.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:02:51 -07:00
swaitsandClaude Fable 5.2 c15758a508 Add the Gila Wilderness Centennial Loop and the Siskiyou Peaks Trail; leave out the Theodore Solomons Trail as waiting
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 11:42:08 -07:00