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>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-16 12:22:56 -07:00
1 parent c11a72a7dd
commit d34a9617cd
127 files changed
+2612 -358

No files matched your search

+8 -4
View File
@@ -59,8 +59,12 @@ The field and file names keep the word "line" (`line.geojson`, `line_file`, `lin
| `discovery` | string | How to tell whether the source has a newer release. | `"osm-relation-version: ..."` |
| `format` | string | What the source serves and how it is paged. | `"OpenStreetMap route relation"` |
| `crs` | string | Coordinate system the source stores. Published files are longitude/latitude (EPSG:4326). | `"EPSG:4326"` |
| `licence` | string | Licence id, from: `us-gov-public-domain`, `CC-BY-4.0`, `CC-BY`, `ODbL-1.0`, `CC-BY-NC-ND-4.0`, `none-stated`, `restricted`, `unknown`. | `"ODbL-1.0"` |
| `licence_text` | string | What the source actually says, with the page it was read on. Not legal advice. | `"OpenStreetMap contributors, ODbL 1.0 ..."` |
| `licence` | string | Licence id, from: `us-gov-public-domain`, `CC-BY-4.0`, `CC-BY`, `ODbL-1.0`, `stated-permission`, `CC-BY-NC-ND-4.0`, `none-stated`, `restricted`, `unknown`. | `"ODbL-1.0"` |
| `licence_text` | string | What the source actually says, with the page it was read on. Not legal advice. For `stated-permission` it says in a sentence or two what was asked and where the statement was read; the words, the speaker, the date and the address go in the four `permission_*` fields. | `"OpenStreetMap contributors, ODbL 1.0 ..."` |
| `permission_quote` | string, `stated-permission` only | The holder's words, exactly as written, with no licence named. Required for `stated-permission` and refused for any other licence. The trail page shows it as a quotation. | `"It's completely public and free to share."` |
| `permission_by` | string, `stated-permission` only | Who said it, by role, as it should read after "Said by". | `"the association's president"` |
| `permission_date` | string, `stated-permission` only | The day it was said, `YYYY-MM-DD`. | `"2026-11-16"` |
| `permission_url` | string, `stated-permission` only | An `http(s)` address of the page, issue or message thread where it was said. The trail page links to it. | `"https://github.com/swaits/longhikes/issues/2"` |
| `attribution` | string | The credit line to show, as the source asks. | `"OpenStreetMap contributors (ODbL)"` |
| `osm_only` | boolean | `true` when OpenStreetMap is the only source of the included track. | `true` |
| `mainline` | string | How the main track is told apart from alternates, connectors and side trails in this source. | `"One relation tagged complete."` |
@@ -111,7 +115,7 @@ Optional: a record without `[hike]` is valid. The table holds the facts a hiker
| `summary` | string | Two or three plain sentences: where the trail goes, what the country is like, what sets it apart. No sales language and no superlative that a source does not support. The first sentence stands alone, because the site uses it as a one-line description. | `"The Long Trail runs the length of Vermont along the Green Mountains, from the Massachusetts border to the Canadian border."` |
| `official_url` | string | The trail's own page from whoever manages or publishes it (agency, association, or the route's author). | `"https://www.greenmountainclub.org/the-long-trail/"` |
| `start`, `end` | string | The two ends as place names a hiker would recognise, in the usual direction of travel where there is one. For a loop, `start` is the usual trailhead and `end` is left out. | `"Springer Mountain, Georgia"` |
| `start_lonlat`, `end_lonlat` | array of two numbers, where present | The position of the place named in `start` (or `end`), as a gazetteer or the trail's holder gives it: longitude and latitude in decimal degrees, WGS84, longitude first, rounded to three decimals (about 100 m). It is the place, not a surveyed trailhead, and it is there so that a trail with no track can still be put on a map. A loop has `start_lonlat` only. The source of the numbers must allow republication and is named in `[[hike.source]]`, like every other fact. Where both are given, the straight distance between the two points cannot be longer than `length_km`, because a trail cannot be shorter than the distance between its ends; the validator checks this with a 2 per cent tolerance. | `[-83.927, 34.627]` |
| `start_lonlat`, `end_lonlat` | array of two numbers, where present | The position of the place named in `start` (or `end`), as a gazetteer or the trail's holder gives it: longitude and latitude in decimal degrees, WGS84, longitude first, rounded to three decimals (about 100 m). It is the place, not a surveyed trailhead, and it is there so that a trail with no track can still be put on a map. A loop has `start_lonlat` only. The place name in `start` (or `end`) may be left out when the record has a track and the numbers are the ends of that track, with the track named as the source. The source of the numbers must allow republication and is named in `[[hike.source]]`, like every other fact. Where both are given, the straight distance between the two points cannot be longer than `length_km`, because a trail cannot be shorter than the distance between its ends; the validator checks this with a 2 per cent tolerance. | `[-83.927, 34.627]` |
| `shape` | string | `"point-to-point"`, `"loop"` or `"network"`. | `"point-to-point"` |
| `days` | array of two integers | The usual time to walk the whole trail in one go, `[fewest, most]`, in days, as a source states it. Weeks count 7 days, months 30. | `[150, 210]` |
| `season` | string | The months in which the whole trail is usually walked, as a short phrase. Not the dates a park or hut is open, unless those set the walking season. | `"July to September"` |
@@ -122,7 +126,7 @@ Optional: a record without `[hike]` is valid. The table holds the facts a hiker
| `travel` | string | What the walking is, as the sources describe it. `"trail"`: on built or maintained trail for all or nearly all of the way. `"trail-and-road"`: trail with long stretches on roads. `"some-cross-country"`: mostly trail or road, with stretches that have no trail. `"mostly-cross-country"`: no trail for most of the way. | `"trail"` |
| `permit` | string | One plain sentence on whether a permit or reservation is needed to walk the whole trail, and from whom. Left out when no source says. | `"Individual hikers need no permit."` |
| `unfinished` | string | Only where the trail is not complete on the ground: one sentence saying how much exists, as a source states it. | `"About 400 of the planned 700 miles are built."` |
| `caution` | string | Only where a source says so: one sentence a hiker should know before choosing the trail that no other field holds, such as long sections that are unofficial, unmaintained or on roads. Not current conditions or closures, which change. | `"About a third of the route is unofficial and not maintained."` |
| `caution` | string | Only where a source says so: a few plain sentences a hiker should know before choosing the trail that no other field holds, such as long sections that are unofficial, unmaintained or on roads. Not current conditions or closures, which change. A loss of access that a publisher has reported in writing may go here, worded as that publisher's report and naming its page in `[[hike.source]]`. | `"About a third of the route is unofficial and not maintained."` |
| `checked` | string (date) | Required when `[hike]` is present. The date the facts were read, `YYYY-MM-DD`. | `"2026-11-13"` |
## `[[hike.source]]`: where the `[hike]` facts were read