Commit Graph
20 Commits
Author SHA1 Message Date
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
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 249d866efe Do not say a logo was taken from a page when none is included
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
Fifteen records name where a trail's logo is held but include no logo
file. Their pages listed that link as "The page the logo was taken
from", with no logo anywhere on the page. The link now reads "The logo
holder's site; the logo is not included here", and the Logo section
says the trail has a logo, who holds it, and that no copy is in the
dataset.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:46:35 -07:00
swaitsandClaude Fable 5.2 48e1cc39fb Deploy the site after the checks pass on main
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
Netlify is not notified of pushes to this repository, so the workflow
asks it to build: a third job calls a Netlify build hook once the
validator and the site's tests and build have passed on main. A failing
record or page is therefore never published.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:20:44 -07:00
swaitsandClaude Fable 5.2 25f62d0401 Pass changes merged on GitHub on to the forge
Mirror to forge / mirror (push) Waiting to run
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
A workflow pushes every push to main on GitHub to the primary
repository at git.swaits.com, so a pull request merged on GitHub
reaches both without anyone pulling it by hand. It uses a deploy key
that can write to that one repository, checks the forge's host key,
and never forces: if the two have diverged it fails.

CONTRIBUTING.md names the forge repository.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:02:39 -07:00
swaitsandClaude Fable 5.2 30c306ecc6 Invite corrections: links on every page, issue forms, site checks
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Each trail's page now offers "Report a problem" (a GitHub form with the
record filled in), "Edit this record" and "History". The footer, the
home page and About link to the forms for a wrong record and a missing
trail, and Logos links to a form for a steward or creator who wants a
track or logo removed or re-credited. The links are built only when
repo_url in web/site.toml is a github.com repository.

.github/ has the three issue forms and a pull request checklist, and
the workflow also runs the site's tests and a build, on Python 3.12.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaitsandClaude Fable 5.2 1760ae4da9 Name the dataset Long Hikes and say where changes are sent
The README is titled Long Hikes, after the site at longhikes.org, and
points to https://github.com/swaits/longhikes for issues and pull
requests. CONTRIBUTING.md has a new section on how to send a change:
the "Report a problem" form on each trail's page, editing a record in
a fork, and the checks every pull request gets.

The route table's column and the schema heading say "track policy",
as the site does; the field is still `line_policy`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaits e998a15b30 Call a trail's geometry a track, not a line
The documents and the records' own notes now say "track" for what is
stored in line.geojson and offered as GPX. Field and file names keep
"line" (line.geojson, line_policy, line_source), and so do attribution
strings, creators' quoted words and trail names.
2026-11-13 13:06:31 -07:00
swaitsandClaude Fable 5.2 eb444ff0e6 Say "track" on the site for a trail's geometry
The pages called the thing a hiker downloads and sees on the map a
"line". They now call it a track, name the format on download links
("Download GPX and GeoJSON"), and speak of the map where the text is
about what is drawn. Field and file names shown on purpose keep
"line" (line.geojson, line_policy).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 12:43:49 -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
swaits c42cfbbe73 Add person-defined routes as records
Validate / validate (push) Canceled after 0s
34 person-defined routes, each with its creator, the guide it is got
from (free or for sale), and the creator's words on sharing the line.

One has a line: the Big SEKI Loop, from its OpenStreetMap route relation
(11628437), 251.2 km against the published 249 km. The other 33 have no
line, and no line was taken from OpenStreetMap even where one exists,
because the route is sold, the creator withholds it, the question is not
settled, or the creator's download carries no licence to pass it on.

The Vancouver Island Trail is already listed as vancouver-island and is
unchanged.
2026-11-10 14:43:17 -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 aacb43d38e Add 40 designated trails, 35 of them with an OpenStreetMap line
Validate / validate (push) Canceled after 0s
Each record names its steward, the page the length was read on, and the
designation. Lines are built from the trail's OpenStreetMap route relation
(ODbL-1.0). Five trails have no OpenStreetMap route relation and ship as
records only, with the reason stated.
2026-11-10 14:12:44 -07:00
swaits 50599e713c Lower the length floor to 50 miles (80 km)
The dataset listed trails of 100 km or more. The owner lowered the floor to
50 miles because that is about what multi-day wilderness backpacking takes.
README, CONTRIBUTING and the tier definitions in docs/schema.md say so now.
The few well-known trails between 60 km and 80 km stay listed as short.
2026-11-10 13:36:12 -07:00
swaits fea96bd9ea Use one attribution wording for every OpenStreetMap line
Validate / validate (push) Canceled after 0s
Nine records added today read differently from the other 39.
Same credit, same words everywhere.
2026-11-09 19:16:43 -07:00
swaits 4eb0786b2b Add OpenStreetMap lines for nine record-only trails
Lines from each trail's OpenStreetMap route relation, with member ways and
nested relations, published under the ODbL: Arizona, Florida, Ice Age, North
Country, Great Divide Trail, Idaho Centennial, Long Path, Mid State and
Superior Hiking. Their publishers' own lines may not be passed on, and without
these four National Scenic Trails the map loses them.
2026-11-09 19:04:40 -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 4581f9dc26 Add documentation and validation workflow
README with inclusion rule and trail table, CONTRIBUTING,
record schema, source terms, changelog, logo notice, and a
GitHub/Gitea workflow that runs the validator.
2026-11-09 16:08:44 -07:00
swaits 824cc9d2b5 Add tools and licence texts
validate.py checks every record and the generated files;
build_index.py writes trails.csv, index.geojson and the README
table. Python 3 standard library only. CC0-1.0 for the records
and docs, MIT for the tools, source licences in LICENSES/.
2026-11-09 16:08:44 -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