Commit Graph
6 Commits
Author SHA1 Message Date
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 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 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 c7e8e58dce Add 41 trails found by checking other lists of long trails
Every entry on the lists other sites keep (Wikipedia's United States and
Canadian lists, the National Trails System, the OpenStreetMap wiki,
ALDHA-West, The Trek, thru-hiking.com, Nutty Hiker, HikeList, Explore
magazine's Canadian list, Hike Ontario, and the pages of about a dozen
route authors) was checked against the inclusion rule. The trails that
meet it and were missing are added: 29 official trails and 12 routes.
The dataset now holds 178 trails, 97 with a track.

Each new record confirms the trail's length and holder on the holder's
own page, includes a track only where it may be shared, and carries
sourced hiker facts. Five are marked held where a question is open.
The American Discovery Trail is listed, with its record saying how much
of it is road and shared path.

Rule changes, as decided:
- The floor stays at 50 miles. The Fundy Footpath (41 km) is removed,
  since it sits below even the band for short well-known trails.
- Not listed: paths made mainly for cycling, such as gravel rail trails
  and canal towpaths, and historic trails that are mainly driving
  routes. The README says so.
- A hiker fact may now be read on an established hiking site where the
  holder and government pages say nothing; that site is named as the
  source. The holder's figure still wins a disagreement.

New tool: tools/osm_track.py fetches a trail's OpenStreetMap route
relation and writes line.geojson, alternates.geojson and release.txt in
the dataset's form, with the measured length and number of parts. It
reproduces the existing Loyalsock and Arizona tracks exactly.

Corrections: the Deseret Hiking Route also runs through Idaho, and the
Vagabond Loop links its author's live page in place of an archived copy.

Tracks for four of the new trails (Thames Valley, Grand Valley,
Nepisiguit Mi'gmaq, Boreal) are still to be fetched: the Overpass
servers were unreachable.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 20:37:14 -07:00
swaitsandClaude Fable 5.2 3d88004324 Finish the 15 records that named a logo but included none
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
Seven now include the trail's logo, taken from its holder's own site:
California Coastal Trail, Fundy Footpath, Grand Enchantment Trail,
Great Eastern Trail, the Great Trail (Trans Canada Trail), and the
Nez Perce and Overmountain Victory National Historic Trails.

Four have no logo of their own, only their agency's mark, and say so
(no-logo-exists): Pukaskwa Coastal, Teton Crest, Timberline and West
Coast Trail. Four have an emblem that no clean copy of was found on
the holder's site (logo-not-found): Iditarod, Kekekabic, Oregon Desert
and Great Western. Each note says what was looked at.

Trans Canada Trail and the National Park Service state that use of
their marks needs permission; the marks are shown here only to
identify the trails, as NOTICE.md says of every logo.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:58:54 -07:00
swaitsandClaude Fable 5.2 abfbeb00bd Add the Long Hikes static site (longhikes.org)
Validate / validate (push) Canceled after 0s
web/ is a static site generator for the dataset, in Python's standard
library only. `python3 web/build.py --out _site` writes a page for each
of the 138 records, a finder on the home page with a map of the 85
lines, region and route indexes, and the repository's documents as
pages. Each line is offered as the record's GeoJSON and as a GPX
simplified to 5 m, with two archives of everything.

The site's name and address are set in web/site.toml: Long Hikes, at
https://longhikes.org. The dataset keeps its own name.

netlify.toml and web/static/_headers configure the Netlify site
(content types, download dispositions, caching, a content security
policy with no inline script). It is deployed with the Netlify CLI
from a local build, because Netlify cannot build from this forge.

MapLibre GL JS and the two typefaces are vendored under web/assets/;
map tiles come from OpenFreeMap. Tests: python3 -m unittest discover
-s web/tests (164).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 12:20:32 -07:00