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>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-13 13:17:20 -07:00
1 parent e998a15b30
commit 1760ae4da9
6 files changed
+17 -9

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
- The inclusion rule now lists person-defined routes as well as designated trails: high routes, traverses and loops that a person or a small group worked out and published, at the same 50-mile floor. See README.md, section "Inclusion rule".
- The rule follows the creator's choice. Where the creator sells the route or chooses not to publish a track, the record has no track and no track is included from any source, OpenStreetMap included. Where the creator publishes the track freely, a track is included only where the creator's terms allow it or where OpenStreetMap carries the route as a relation.
- New record fields in docs/schema.md: `kind`, the `[route]` table (creator, year, line policy, the creator's words) and the `[[guide]]` array (what the route is got from, free or for sale, with price, publisher and ISBN where known).
- New record fields in docs/schema.md: `kind`, the `[route]` table (creator, year, track policy, the creator's words) and the `[[guide]]` array (what the route is got from, free or for sale, with price, publisher and ISBN where known).
- tools/validate.py checks the new fields and the track rule. tools/build_index.py carries `kind` and `line_policy` into trails.csv and index.geojson, and the README gets a second generated table for routes.
- NOTICE.md says a route's creator can ask for a record to be corrected or removed.
+8
View File
@@ -2,6 +2,14 @@
Thank you for helping correct or extend this dataset. Please keep changes small: one trail per change where you can.
## How to send a change
Issues and pull requests are taken at https://github.com/swaits/longhikes. That repository mirrors the maintainer's own; a change accepted there reaches both.
- You do not need git to report something. Every trail's page on https://longhikes.org has a "Report a problem" link that opens a short form, and the repository's issue forms cover a wrong record, a missing trail, and a request from a steward or creator to remove or re-credit a track or a logo.
- To fix a record yourself, use "Edit this record" on the trail's page, or edit `<id>/trail.toml` in a fork, and open a pull request. Say where each changed fact can be checked.
- Every pull request is checked automatically by `tools/validate.py` and the site's tests. A person still reviews it, most of all where a track is added or changed.
## Correct a trail
1. Edit only that trail's directory.
+4 -4
View File
@@ -1,6 +1,6 @@
# Open Long Trails
# Long Hikes
A public dataset of long-distance hiking trails in the United States and Canada: one directory per trail, with a written record, the trail's track where it may be shared, and the trail's logo where one exists. First compiled for the PHRP route planner.
A public dataset of long-distance hiking trails in the United States and Canada: one directory per trail, with a written record, the trail's track where it may be shared, and the trail's logo where one exists. First compiled for the PHRP route planner. The site built from it is at https://longhikes.org.
## What this is, and what it is not
@@ -149,7 +149,7 @@ Routes that a person or a small group worked out and published. The record says
<!-- BEGIN ROUTE TABLE -->
| ID | Route | Country | States / provinces | Length (km) | Creator | Line policy | Track | First guide |
| ID | Route | Country | States / provinces | Length (km) | Creator | Track policy | Track | First guide |
| --- | --- | --- | --- | ---: | --- | --- | --- | --- |
| beartooth-high-route | Beartooth High Route | US | MT, WY | 145 | Wilderness Mindset | sold | no | [Beartooth High Route Map Pack](https://wildernessmindset.com/product/beartooth-high-route-map-pack/) (purchase) |
| big-seki-loop | Big SEKI Loop | US | CA | 249 | Amy and James (Doing Miles) | open | yes | [Big SEKI Loop Route Guide](https://doingmiles.com/route-big-seki-loop/) (free) |
@@ -235,7 +235,7 @@ Logos are included only to identify each trail. They belong to their holders, ar
## Report an error
Open an issue, or send a patch, with: the trail's `id`, what is wrong, and where the correct information can be checked (a source page, a map, or a measured track). Corrections to a track should name the source the corrected track came from and its licence. See CONTRIBUTING.md for how to correct a record, add a trail, or refresh a trail from its source.
Open an issue or a pull request at https://github.com/swaits/longhikes, with: the trail's `id`, what is wrong, and where the correct information can be checked (a source page, a map, or a measured track). Corrections to a track should name the source the corrected track came from and its licence. See CONTRIBUTING.md for how to correct a record, add a trail, or refresh a trail from its source.
## Sources
+1 -1
View File
@@ -100,7 +100,7 @@ The field and file names keep the word "line" (`line.geojson`, `line_file`, `lin
| `parts` | integer, where verified | Pieces left after joining track ends within 100 m. | `1` |
| `note` | string | What was found, including failures and gaps. | `"389.5 km in 12 parts against 480 km planned."` |
## `[route]`: the creator and the line policy
## `[route]`: the creator and the track policy
Present only when `kind = "route"`. A route is a high route, a traverse or a loop of linked trails that a person or a small group worked out and published.
+1 -1
View File
@@ -211,7 +211,7 @@ def first_guide(t):
def readme_route_table(trails):
lines = [
"| ID | Route | Country | States / provinces | Length (km) | Creator | Line policy | Track | First guide |",
"| ID | Route | Country | States / provinces | Length (km) | Creator | Track policy | Track | First guide |",
"| --- | --- | --- | --- | ---: | --- | --- | --- | --- |",
]
for t in trails:
+2 -2
View File
@@ -401,12 +401,12 @@ class RealDocumentsTest(unittest.TestCase):
def test_readme_headings(self):
top = md.headings(read_doc("README.md"))[0]
self.assertEqual(top, (1, "Open Long Trails", "open-long-trails"))
self.assertEqual(top, (1, "Long Hikes", "long-hikes"))
def test_readme_offset(self):
html = md.render(read_doc("README.md"), heading_offset=1)
self.assertNotIn("<h1", html)
self.assertIn('<h2 id="open-long-trails">Open Long Trails</h2>', html)
self.assertIn('<h2 id="long-hikes">Long Hikes</h2>', html)
def test_rewrite_called_for_every_real_link(self):
seen = []