Commit Graph
88 Commits
Author SHA1 Message Date
swaitsandClaude Sonnet 5.5 30d03b8069 Let a place carry its own label and preposition, keep the count in every place title, and test that slugs follow names
A registry entry may now set label and prep. A plateau reads "Plateau" and "on the Colorado
Plateau", the Mogollon Rim "Escarpment" and "along the Mogollon Rim", a national monument or a
parkway its own word; the default is still "Mountain range" and "in the". Every national park,
provincial park, monument, recreation area and parkway in the registry is labelled.

A place title no longer gives up its ": N Trails" ending when it is long: it drops the state first
and then keeps the count over the cap, and the state is left out where the name already holds
it (Oregon Cascades, California Coast Ranges). A test checks that every slug is the slug of its
display name, with the Arizona White Mountains as the one stated exception.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:28:03 -07:00
swaitsandClaude Sonnet 5.5 a97ea85093 Rename three place slugs to the slug of their display name, before the addresses go live
glacier is now glacier-national-park, sequoia-and-kings-canyon is now
sequoia-and-kings-canyon-national-parks and hells-canyon-wilderness-id is now
hells-canyon-wilderness. The registry, the allow-list and every record that names them are
updated, and the tool keeps the plain slug for the one Hells Canyon outline that has trails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:26:01 -07:00
swaitsandClaude Sonnet 5.5 75e5de5c16 Drop six places from the pages and the records, and widen the twin rule to ranges
The deny-list in tools/place_trails.py now names, with a reason beside each, the Longfellow
Mountains, Finger Lakes, Gore Range, Mosquito Range, Great Western Divide and Russian
Wilderness. They are removed from places.toml and from every record that named them, history
entries included, so nothing is left to link to. A range that holds exactly the trails of a park
and shares its name stem (Great Smoky Mountains and Great Smoky Mountains National Park,
Olympic Mountains and Olympic National Park) now gets no page either, in the tool and in the
builder, and is removed from records the same way.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 12:23:23 -07:00
swaits 1fbcfd5021 Merge main into places-ship-2 2026-11-20 11:07:24 -07:00
swaits 00c60a4c2c Link the place pages from the hub, the states and the trails, and search by place 2026-11-20 10:55:36 -07:00
swaits 16c5275c94 Add park, range and wilderness pages 2026-11-20 10:48:10 -07:00
swaits f08c661c16 Build the state pages through a page kind 2026-11-20 10:42:47 -07:00
swaits 4afa05cdff Add the place loader and membership 2026-11-20 10:40:35 -07:00
swaitsandClaude Sonnet 5.5 cb6cdadd41 Update the page test for the season wording
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:31:01 -07:00
swaitsandClaude Sonnet 5.5 1c60e0c14c Fix the season wording and checks after review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 10:22:29 -07:00
swaitsandClaude Sonnet 5.5 03c2611036 Show where a season came from; check it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 09:51:51 -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 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 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 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 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 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 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 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
swaitsandClaude Fable 5.2 b1e3f3fb85 Stop pages stating false or contradictory things, and fix two phone layout bugs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 10:38:11 -07:00
swaitsandClaude Fable 5.2 46b27acc9c Correct stale, contradictory and wrong statements in records
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 10:38:11 -07:00
swaitsandClaude Fable 5.2 fd628fe015 Add a track for the Teton Crest Trail from public agency trail layers
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 track is 58.7 km from Phillips Pass to String Lake, built from the
National Park Service public trails data and the Forest Service national
forest trails data (both public domain): the stretches the agencies label
Teton Crest Trail, joined along the Park Service's route by the trails that
carry local names in the Park Service layer. The record's length is now the
Park Service's 39 miles (63 km).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 09:22:14 -07:00
swaitsandClaude Fable 5.2 30cfba03ba Keep the link pointer on state codes inside links
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-18 17:53:07 -07:00
swaitsandClaude Fable 5.2 9e435fa2a4 Link a breadcrumb's group to the group's own page
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 group crumb on a trail page went to an anchor on the places index;
it now goes to /regions/<group>/, as the state and province pages do.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:44:44 -07:00
swaitsandClaude Fable 5.2 a0540d21d2 Keep a place page's map on its place after the list is applied
fitToVisible compared the whole list of a place page (every trail there, drawn
or not) with the drawn trails the page opened on, found them different, and
fitted the map to the extent of the visible tracks: the American Discovery
Trail's. Only trails with geometry now count on a place page (data-place).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:26:45 -07:00
swaitsandClaude Fable 5.2 cfa8026300 Open a place page's map on the place, not on the extent of its trails
Utah's map opened on the whole country because the American Discovery Trail
crosses it. Every state, province and group page now opens on its own box
(web/place-bounds.toml, Natural Earth, public domain); tracks that run past it
are still drawn in full and leave the opening view.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:26:45 -07:00
swaitsandClaude Fable 5.2 864af51506 Show lengths as walked, and take reduced figures out of records and pages
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
A trail's length is the whole distance walked. Records no longer state a
figure with repeated ground taken out; notes say which stretch is walked
out and back. The floor test stays in the rules as an inclusion measure,
and the working figures move to the maintainers' notes. Ten history
entries written earlier today are reworded to drop the same figures.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:24:17 -07:00
swaitsandClaude Fable 5.2 e5a12129ef Add three named trails, narrow the five-day rule, and record four near-misses
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 Selway River Trail (50 mi), the Silver Moccasin Trail (51 mi) and the
Wind River Highline Trail (64 mi) are new. The rules now say the five days
count only for hard or cross-country routes, that a named trail with its
own published length is listed even on a longer listed trail, and that a
loop reached by a stem shows its published figure while the floor is
tested on distinct miles. The Skyline Trail in the Pecos Wilderness waits
on a fire closure.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 17:02:02 -07:00
swaitsandClaude Fable 5.2 7fa0d5ce77 Add seven guidebook routes from five books, with their authors
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
Ptarmigan-Glenns Lake-Highline Loop (52 mi), Rutherford Lake Loop (71.5),
Deadman and Cloud Canyons (113.4), South Lake to North Lake (55.0),
Milestone Basin and the Upper Kern (55.6), Eagle Cap Traverse (54.7) and
Gospel Hump Loop (68). No tracks; start and end points from OpenStreetMap
where the named trailhead is mapped.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 16:23:24 -07:00
swaitsandClaude Fable 5.2 3709a9af5f Map the start and end of trails with no track, with the notice beside it
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 16:14:34 -07:00
swaitsandClaude Fable 5.2 99c3ce6609 Add the Grand Teton Loop as an exception under the floor, and note three Wyoming trips as left out
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
48.5 miles and five to eight days in Douglas Lorain's Backpacking Wyoming,
listed by the owner's ruling. The book's Bighorn Pass & Sportsman Lake
Loop, Lamar River to Hoodoo Basin and Lonesome & Baptiste Lakes Loop are
recorded as below the floor.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 12:41:04 -07:00
swaitsandClaude Fable 5.2 8f66c01983 Add four routes from Douglas Lorain's Backpacking Wyoming
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
Heart Lake & Two Ocean Plateau Loop, Teton Wilderness Loop, Green River
Lakes & Titcomb Basin Loop and Central Wind Rivers Loop, each over 60
miles, recorded from the book's trip pages with no track. Douglas Lorain
gains an author page.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 12:23:34 -07:00
swaitsandClaude Fable 5.2 da45fc2c81 Add five routes from Bruce Grubbs's Backpacking Arizona
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
Kanab Canyon Loop, Powell Plateau Loop, Nankoweap-Bright Angel Loop,
Sycamore Canyon and Deadman Creek Loop, each over 50 miles, recorded from
the book's trip pages with no track. Bruce Grubbs gains an author page.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 11:16:07 -07:00
swaitsandClaude Fable 5.2 5abd7b1ede Say "35 trails", not "35 of 35 trails", when nothing is filtered out
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 count above each set of rows keeps the "12 of 35 trails" form only
when some are filtered out, in the built pages and in the script alike.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 10:06:31 -07:00
swaitsandClaude Fable 5.2 76622257b7 Give the Rae Lakes Loop a track 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 loop is 35.8 miles in one part, with the 1.9-mile stem from Road's
End as a side track. Loop plus the stem both ways is 39.5 miles, 4.5%
under the Park Service's 41.4.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:48:33 -07:00