Commit Graph
11 Commits
Author SHA1 Message Date
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