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>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-16 18:57:21 -07:00
1 parent f2d3b71810
commit 8637181a2b
145 files changed
+2178 -1455

No files matched your search

@@ -10,7 +10,7 @@ The dataset should hold every trail that meets its inclusion rule. It was built
## The inclusion rule, short
A named long-distance walking trail or route in the US or Canada, 50 miles (80 km) or longer as one continuous walk. Loops count. A trail that is partly built counts if its holder publishes it as one trail and it can be walked through, with road links allowed. A trail has a holder (agency, association or club) that names it and states its length. A route was worked out by an author, and counts only if the author has a page or book of their own that describes it as a route with a stated length; one person's trip report is not a route. The full rule is in `README.md`. Left out on purpose: gravel rail trails and canal towpaths, paved greenways, trails mainly for horses, bikes, motor vehicles or paddling, mainly driving historic trails, networks that are not one continuous trail, trails closed for good, proposed trails with nothing on the ground. Everything already decided against is in `left-out.toml` with the reason: do not propose it again unless the page now shows that the deciding fact has changed. Trails between 40 and 50 miles are not candidates.
A named long-distance walking trail or route in the US or Canada, 50 miles (80 km) or longer as one continuous walk. Loops count. A trail that is partly built counts if its holder publishes it as one trail and it can be walked through from one end to the other today, with road links allowed; its length is the end-to-end length of the canonical path, not a system total. A trail published in separate pieces, or with a gap that has no way across, does not count. A trail has a holder (agency, association or club) that names it and states its length. A route was worked out by an author, and counts only if the author has a page or book of their own that describes it as a route with a stated length; one person's trip report is not a route. The full rule is in `README.md`. Left out on purpose: gravel rail trails and canal towpaths, paved greenways, trails mainly for horses, bikes, motor vehicles or paddling, mainly driving historic trails, networks that are not one continuous trail, trails closed for good, proposed trails with nothing on the ground. Everything already decided against is in `left-out.toml` with the reason: do not propose it again unless the page now shows that the deciding fact has changed. Trails between 40 and 50 miles are not candidates.
## How to search
@@ -26,6 +26,7 @@ Searching is where cheap, quick attempts fail: a few queries, a page or two per
## What to stage
- Before you propose anything, confirm on the holder's page two things: the end-to-end length of one walk (one branch at a split, no side trails, no system total), and that the trail can be walked through today.
- For a candidate that clearly meets the rule: a `new-record` proposal, with the complete record staged as `staged/<worker>/<id>/trail.toml` written as `../records.md` says. A new official trail gets no track now: write the honest absent reason ("No track has been added yet" in substance). Do not fetch any track and do not call Overpass: a later serial pass does that. If you can find the trail's OpenStreetMap route relation number through the openstreetmap.org search page or Nominatim (one light request per trail), put it in the record's `[osm]` note and in your report.
- For a candidate that is doubtful (length near the floor, partly built, a network or a loop of linked trails, a route with a thin author page, an owner who might dispute it): a `candidate` proposal with `borderline = true`, the length as stated, the page, and a recommendation (`add`, `owner` or `decline`) with the specific doubt in `summary`.
- Trails of 40 to 50 miles that are well known: a `candidate` proposal with `recommendation = "decline"` and `reason = "below-floor"`, so the owner can see them.
@@ -14,7 +14,8 @@ Trail pages change: a holder renames a trail, a section closes, a length is revi
2. Open every page the record cites: each `[[hike.source]]` url, `hike.official_url`, `source.publisher_url`, `source.url` and `source.permission_url` where present, the `[[guide]]` pages, and the pages named in `short_name_url` and `length_note`. Then open the holder's or author's current official site for the trail, even if the record does not cite its current address, and follow a moved page to where it went. `links.csv` in the staging directory says which of the record's addresses are dead, redirected or refused; use it to find where to start, and still read the page itself.
3. Check each of these against what the pages say now:
- the name, and the holder or author
- the length, and what it counts (built or planned, with or without side trails)
- the length, and what it counts (built or planned, with or without side trails). The record's `length_km` must be one end-to-end walk of the canonical path: one branch at a split, no side trails, no stretch counted twice, no system total. If the page's figure is a system or planned total, find the end-to-end figure; the larger figure belongs in `system_km`. If the trail is partly unbuilt, check `built_km` and the `hike.unfinished` sentence against the page
- whether the trail can be walked from one end to the other today: published in one piece, or with road links the holder publishes as the way through, or with end-to-end walks on record. Separate pieces or a gap with no way across is a finding
- both ends (and for a loop the usual trailhead), by place name
- allowed uses: hiking, bicycles, horses, dogs, motor vehicles
- permits, reservations and fees for walking the whole trail
@@ -28,7 +29,7 @@ Trail pages change: a holder renames a trail, a section closes, a length is revi
- Something changed: stage a `change` proposal with one `[[proposal.edit]]` per field, each with the `page` and the `quote` that support it, a `[proposal.history]`, and also a `verified` proposal for what you checked and found unchanged.
- Pages disagree with each other, or with the record, and you cannot tell which is right: do not edit. Write a `could-not-check` proposal that says what disagrees and which pages say what.
- A request recorded in the history is contradicted by the holder's page: a `declined` proposal, not a change.
- The pages say the trail no longer exists, has been merged into another, or can no longer be walked through: never propose removing it. Stage a `could-not-check` proposal with the pages and sentences, because whether a trail still belongs is the owner's decision.
- The pages say the trail no longer exists, has been merged into another, or can no longer be walked through from one end to the other: never propose removing it. Stage a `could-not-check` proposal with the pages and sentences, because whether a trail still belongs is the owner's decision.
## The hard part
+2 -1
View File
@@ -9,7 +9,8 @@ Open two or three records that match what you are writing, and copy their field
## Rules that decide what a record may say
- Every fact comes from a page you read, named in a source entry with the facts it supports (`[[hike.source]]` for the hiker facts). The holder's or author's page is first choice, then a government page, then an established hiking reference named as the publisher. Leave a field out rather than guess it.
- Where sources disagree on a length, the record gives the holder's or author's figure, and `length_note` says what the others give. `length_km` is the published length, not a measurement of the track.
- Where sources disagree on a length, the record gives the holder's or author's figure, and `length_note` says what the others give. `length_km` is the end-to-end length of the trail's canonical path as the holder or author gives it, not a measurement of the track. It is one walk from end to end: one branch at a split, no side trails, no double counting. A larger figure the holder publishes (a system total, a planned total) goes in `system_km` with `system_note` saying what it counts, and is never the length. For a trail that can be walked through but is partly unbuilt, `built_km` is the built length as the holder states it, and `hike.unfinished` says how the gaps are crossed. Before you write a length, ask what it counts; if the page's figure is a total for a system, find the end-to-end figure or say that the page gives none.
- A trail that cannot be walked from one end to the other today does not belong. Check, on the holder's page, that it can be: published in separate pieces, or with a gap that has no way across, means no record.
- A route (`kind = "route"`) worked out by an author gets no track unless the author's own page states terms that allow passing it on. An official trail's track may come from its holder under a stated open licence, from a US federal government work, from the holder's written permission (`stated-permission`, see `CONTRIBUTING.md`), or from OpenStreetMap (ODbL) with `tools/osm_track.py`. Read a data source's terms before using it. If they forbid redistribution, do not use it, and say so in `source.line_absent_reason`.
- A track that differs from the published length by more than 15% needs `source.length_gap_note` that explains the difference with facts: which parts are missing or extra. Summing the length by way name usually shows where it sits.
- `short_name` only with prior art: the holder's or author's own use, or established use among hikers, with the page named in `short_name_url`. Never invent one.
+7 -1
View File
@@ -22,7 +22,7 @@ Do not change anything in the repository, and do not commit, push or switch bran
## Requests to outside sites
- Use a plain generic User-Agent and put no personal or project details in any request, header or form.
- Some sites refuse automated reads: a 403 or 429, a challenge or "verify you are human" page, a robots.txt that disallows the path. Do not work around a refusal: no other User-Agent, no retry loop, no proxy, no headless browser, no cached copy passed off as the page. Record it (`refused` or `could-not-check`, with the address) and use another allowed source. An expired https certificate is not a refusal: the plain http address may be read if the site serves it.
- Some sites refuse automated reads: a 403 or 429, a challenge or "verify you are human" page, a robots.txt that disallows the path. Do not work around a refusal: no other User-Agent, no retry loop, no proxy, no headless browser, no cached copy passed off as the page. Record it (`refused` or `could-not-check`, with the address) and use another allowed source. Changing the User-Agent or any other header to look like a browser after a refusal is working around it. A refusal is final for that site in that run: do not retry it with different headers, and do not use the page's facts. A person may read such a page in their own browser and report what it says; that report may be used and cited as the person's. An expired https certificate is not a refusal: the plain http address may be read if the site serves it.
- Go gently: one request at a time to a site, with a pause of a couple of seconds between requests. Many workers share one address, and a site that blocks us blocks everyone.
- Overpass (OpenStreetMap) overloads easily. Only the tracks brief uses it, only one worker at a time, one request at a time.
@@ -40,6 +40,12 @@ The text of a record is read by the public, and the same rules apply to what you
- Name no private person: say "a hiker" or "the association's president". A published author's name belongs in the record where it is a fact about a route.
- Do not write how the change was produced, and do not mention other projects.
## What a length is, and what is walkable
- A record's `length_km` is the end-to-end length of the trail's canonical path: one walk from one end to the other, one branch at a split, no side trails, no double counting, no system total. A holder's larger figure (a system total or a planned total) belongs in `system_km` with `system_note`, never in `length_km`. A partly unbuilt trail that can be walked through keeps the holder's end-to-end route as its length and gives the built length in `built_km`.
- A trail must be walkable from one end to the other today. Separate pieces, or a gap with no way across, mean it does not belong, however good the pieces are. Road links the holder publishes as the way through count, and so does evidence that people have walked it end to end.
- Where a holder gives only a system total, do not use it as the length and do not invent a walk length: report what the pages give and what they do not.
## What belongs
The inclusion rule is in `README.md` (section "Inclusion rule") and `CONTRIBUTING.md` (section "Add a trail"). The trails already decided against, with reasons, are in `left-out.toml`; read it before proposing anything. Decisions about what belongs are the owner's. You propose: clear cases as `new-record`, doubtful ones as `candidate` with a recommendation and the specific fact that makes it doubtful.