Commit Graph
13 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 2d6963ef77 Require a published length, limit required climbing to Class 3, and take the Escalante Overland Route off
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
The length rule is 50 miles, or five days for an author's route that is
short on miles, and every trail or route needs a published length. Nothing
harder than Class 3 may be required. The Escalante Overland Route, added
earlier today, needs difficult climbing by its author's own account and
is now on the left-out list under a new reason; Muddy Creek in the San
Rafael Swell is left out because its guidebook prints no mileage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 08:20:23 -07:00
swaitsandClaude Fable 5.2 8637181a2b Make a trail's length one end-to-end walk, and put the map and the trails in the first screen
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
Lengths and what belongs:
- A trail's length is now the end-to-end length of its canonical path: one
  branch at a split, no side trails, no system totals. A holder's larger
  figure and the built length of an unfinished trail are separate fields
  (`system_km`, `system_note`, `built_km`), shown under the length.
- Corrected: Florida Trail 1,500 to 1,130 mi, American Discovery Trail
  6,800 to 5,008 mi, Ozark Trail to 230 mi, General Crook Trail to 138 mi,
  Sheltowee Trace to 343 mi, Allegheny Trail to 316 mi, Great Eastern
  Trail to 1,800 mi.
- The Florida Trail's and the Ice Age Trail's main tracks are re-cut as
  one walk; the other branches are alternates.
- A trail must be walkable from end to end today. Nine trails that are
  not, are a network, or fall under the floor move to the "Considered and
  left out" list. The Bayou State Trail is added. 196 trails.

Pages:
- The trail page puts the map and At a glance directly under the title;
  the home page drops its oversized hero and shows the trails and the map
  at once. Place and list pages put the list beside the map.
- Every map starts by itself once the page is ready, over a drawing of
  the tracks that is in the page from the first paint.
- Lists is in the header. The home page shows ten lists chosen in
  `collections.toml`. Tables have equal columns and stack on a phone.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 18:57:21 -07:00
swaitsandClaude Fable 5.2 f2d3b71810 Add 130 views of the same records, speed up map pages, and say who maintains the site
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
- New pages built from the records: lists by length, time to walk,
  month, kind of walking and holder; place-by-list pages; a Triple Crown
  table and key-figure tables for the National Scenic and Recreation
  Trails; highest points, most climbing and climb per mile; a page for
  every route author, with the authors of three or more routes leading
  the authors page; connected trails; recently added and changed; a
  glossary and a method page. Every place page opens with a summary.
- Trail pages open with an "In brief" paragraph generated from the
  record and show when the record was last checked. The About page says
  who maintains the site and how to reach them.
- The map starts when it is reached, not with the page. The site's own
  CSS, scripts and fonts are fingerprinted and cached for a year. Every
  image has its dimensions.
- Titles are held to 60 characters and share previews get their own
  shorter description.
- Social cards are redrawn so a long name can no longer push text into
  the footer, and the site-wide card takes its wording from the site
  settings instead of an old hand-made image.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 16:51:13 -07:00
swaitsandClaude Fable 5.2 5b80fccd1e Say what each page is in the words people search with, and mark up the facts
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 whole-site search audit found clean foundations and three gaps: titles
without the words people search for, no structured data on trail pages,
and trails that did not link to each other.

- Trail titles carry the name hikers use, the abbreviation, the length
  and what the page offers; "GPX" only where the page has one. A new
  optional `common_name` field holds the name hikers use (13 records).
- Descriptions are built from each record, at most 155 characters.
- Place and list pages are titled for what they are; heading levels no
  longer jump.
- Trail pages link to similar and related trails and to the lists they
  belong to. Every trail has at least three links from other trails.
- JSON-LD on every page: a Place for each trail, breadcrumbs, item lists
  on list and place pages, WebSite and Organization on the home page, a
  fuller Dataset on the data page.
- A social card per trail, a changelog feed, `lastmod` in the sitemap from
  record dates, `noindex` on the 404 and on raw per-trail files, a
  favicon and an `llms.txt` listing the data files and licences.
- The "Considered and left out" page has its spacing fixed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 14:57:30 -07:00
swaitsandClaude Fable 5.2 24bfbb2fa8 Show each trail's own emblem, keep a history on every record, and list what was 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
- Emblems for 81 trails, up from 41. Each is the trail's own crest, badge
  or roundel alone, cropped out of a larger logo where need be and made
  transparent where that could be done cleanly. Records without one say
  where an emblem was looked for. The validator checks the logo state.
- Every record has a `[[history]]` list: what changed or was asked for,
  on what basis, who asked and whether it was applied or declined.
  `tools/check_history.py` fails a changed fact with no history entry and
  prints earlier entries about a changed field. It runs in CI before the
  site deploys. Each trail page shows the history.
- A new page, "Considered and left out", built from `left-out.toml`:
  35 trails and routes with the reason, the deciding fact and its source.
- The Hoosier Heritage Trail has its ends, its free map set and its
  emblem from its association (issue 2). Any trail may list its holder's
  own guide or map set.
- A stated permission is quoted in the download credit box.
- `tools/gpx_track.py` turns a GPX file from a holder or a hiker into a
  record's track files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 13:40:03 -07:00
swaitsandClaude Fable 5.2 d34a9617cd Add 19 trails and 20 tracks, record stated permission, and remove the C&O Canal Towpath
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A deeper, region-by-region search of the web added 14 official trails and
4 routes. The Hoosier Heritage Trail was added at its association's request
(issue 2) with the association's own track, shared by written permission.

- New licence value `stated-permission`, with the quoted words, who gave
  them, when and where as fields of the record, shown on the trail page
  and carried in the GPX description.
- Tracks from OpenStreetMap or the Forest Service's open trail data for
  eleven of the new trails and seven existing ones. `tools/osm_track.py`
  can join several relations and leave ways out by name.
- The C&O Canal Towpath is removed: the rule leaves out canal towpaths.
- The Grand Enchantment Trail is recorded as a route by its author, with
  no track.
- Corrections to the Finger Lakes, Ozark Highlands, Eastern Continental
  and Knobstone records, checked against the pages they cite.
- Site: the list pages' own units switch is gone in favour of the header
  one; the map switch and a swapped length range stay in step with the
  page.
- CHANGELOG.md brought up to date from the site's opening to today.

204 trails: 147 official trails and 57 routes; 126 have a track.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 12:22:56 -07:00
swaitsandClaude Fable 5.2 ae86d5c3cc Keep a trail's abbreviation only where one is in real use
Every record had an abbreviation because the schema required one, so
where a trail had none one was made up. Nineteen were shared by 49
trails and many were inventions nobody uses ("TCT-WY", "BT-ON").

The rule now:
- An abbreviation is recorded only where the trail's holder or author
  uses it, or it is in established use among hikers. The new field
  short_name_url names the page where it was seen.
- None is made up. short_name is optional, and a trail nobody
  abbreviates has none.
- It is written without full stops: "AT", not "A.T.".
- Two trails may truthfully share one. The City of Prescott calls the
  Prescott Circle Trail "the PCT", so its record says so.

Each of the 182 abbreviations was checked against the trail's own
pages. 104 are kept with their source page, 13 of them corrected to
the form in use (for example "MST" for both the Mountains-to-Sea and
Mid State trails, "FT" for the Florida Trail). 78 are removed.

The validator enforces the rule.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 01:25:14 -07:00
swaitsandClaude Fable 5.2 5c716c3c62 Check LongTrailsWiki's lists, link to its pages, drop five non-trails
LongTrailsWiki. Its maintainer pointed out its List of Long Trails and
its backlog, the List of Trails to Review. Every entry in the United
States and Canada on both was checked against the inclusion rule: 188
entries on the first, 573 on the second. Seven trails that meet the
rule and were missing are added: Prescott Circle, High Country Pathway,
Guadalupe Ridge, Toiyabe Crest and General George Crook trails, and the
Condor Trail and Mojave-Sonoran Trail as routes. Nothing is copied from
the wiki, whose content is share-alike: it tells us a trail exists, and
each record's facts come from the pages it names.

Links. A record can now carry any number of [[link]] tables for other
pages about the trail, each with a title, a publisher and an address.
The official site stays in hike.official_url. 97 trails link to their
page on LongTrailsWiki. The validator checks the new table.

Credit. The README gains "Other lists of long trails", naming the lists
this dataset has been checked against, LongTrailsWiki and OpenLongTrails
first.

Removed, as not walking trails: The Great Trail (Trans Canada Trail, a
30,000 km network of greenways, waterways and roads), the Great Western
Trail (a motor route), and the Iditarod, Nez Perce and Overmountain
Victory National Historic Trails. Each was marked undecided, and its
own note said why it did not belong.

From saved copies of sites that refuse automated reads: the Black
Canyon National Recreation Trail and the Montana Trail are added;
missing facts are filled on six trails; and two facts are corrected
from the holders' own pages (the Colorado Trail's high point is
13,271 ft, and the East Coast Trail is one linear trail, not a network).

The dataset now holds 182 trails, 102 with a track.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:52:47 -07:00
swaitsandClaude Fable 5.2 d84116ce3a Add start and end positions for trails with no track
Two optional [hike] fields, start_lonlat and end_lonlat, give the
position of the place named in start and end, so that a trail with no
track can still be put on a map. 32 of the 53 trails with no track now
have at least one: 45 points in all.

Every point names its source. Only sources that fit the records'
public-domain dedication were used: the USGS Geographic Names
Information System, Natural Resources Canada's geographical names, and
Wikidata. A point is the named place, not a surveyed trailhead. Where
the trailhead itself is in none of those, the point is the lake, creek
or meadow it is named for. An end that is only a border, a whole park
or a mountain range has no point.

The validator checks the shape and range of each point, that its place
name and source are present, and that two ends are not farther apart
than the trail is long.

Also: the Eastern Continental Trail starts at Key West, as its author's
page says, and the Brazeau Loop gains its start, the Nigel Creek
trailhead.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 17:30:12 -07:00
swaitsandClaude Fable 5.2 efb6164737 Add hiker facts and elevation to the trail records
Each record gains a [hike] table with what a person choosing a trail
wants to know: a one-sentence summary, the official page, where it
starts and ends, its shape, how many days it takes, the season, the
high point, the terrain, how much is off trail and whether a permit is
needed. Every fact names the source it came from, and the validator
rejects a fact with no source. 137 of the 138 trails have the table.

The 85 trails with a track gain elevation.json: highest and lowest
points, total climb and descent, and a profile, computed by
tools/elevation.py from the AWS Terrain Tiles.

Wording: a hiker-made trail is a "route" and its person the "author";
a trail's geometry is a "track". The README, the contributing guide and
the schema now say so, and 71 sentences in the records were rewritten
to match.

Corrections found while checking sources:
- Bartram Trail: the official link now goes to the Forest Service page,
  because the old domain serves injected spam.
- Eastern Continental Trail: ends at Cap Gaspé; Newfoundland removed
  from its regions.
- Wind River High Route (Dixon and Wilson): named for both authors.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 01:32:22 -07:00
swaits 4ac5815af9 Schema and rule for person-defined routes
Person-defined routes are now listed at the same 50-mile floor as
designated trails, as records that say where the route is got from its
creator. A line is included only where the creator's terms allow it or
where OpenStreetMap carries the route; nothing is included for a sold,
withheld or unsettled route.

Adds kind, [route] and [[guide]] to the schema, the checks in
tools/validate.py, kind and line_policy in trails.csv and
index.geojson, and a second generated README table for routes.
2026-11-10 14:23:21 -07:00
swaits b0eab384d5 Do not write Python bytecode into the tree
Validate / validate (push) Canceled after 0s
validate.py imports build_index.py; stop it creating
tools/__pycache__ and ignore bytecode files.
2026-11-09 16:25:56 -07:00
swaits dd0c3ebf8e Add trail data: 64 records, 40 lines
Records, redistributable lines, alternates, logos and release
notes, one directory per trail. Lines keep their source terms;
records name the source and licence for every file.
2026-11-09 16:08:44 -07:00