LongTrailsWiki. Its maintainer pointed out its List of Long Trails and its backlog, the List of Trails to Review. Every entry in the United States and Canada on both was checked against the inclusion rule: 188 entries on the first, 573 on the second. Seven trails that meet the rule and were missing are added: Prescott Circle, High Country Pathway, Guadalupe Ridge, Toiyabe Crest and General George Crook trails, and the Condor Trail and Mojave-Sonoran Trail as routes. Nothing is copied from the wiki, whose content is share-alike: it tells us a trail exists, and each record's facts come from the pages it names. Links. A record can now carry any number of [[link]] tables for other pages about the trail, each with a title, a publisher and an address. The official site stays in hike.official_url. 97 trails link to their page on LongTrailsWiki. The validator checks the new table. Credit. The README gains "Other lists of long trails", naming the lists this dataset has been checked against, LongTrailsWiki and OpenLongTrails first. Removed, as not walking trails: The Great Trail (Trans Canada Trail, a 30,000 km network of greenways, waterways and roads), the Great Western Trail (a motor route), and the Iditarod, Nez Perce and Overmountain Victory National Historic Trails. Each was marked undecided, and its own note said why it did not belong. From saved copies of sites that refuse automated reads: the Black Canyon National Recreation Trail and the Montana Trail are added; missing facts are filled on six trails; and two facts are corrected from the holders' own pages (the Colorado Trail's high point is 13,271 ft, and the East Coast Trail is one linear trail, not a network). The dataset now holds 182 trails, 102 with a track. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
5.4 KiB
Contributing
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, https://git.swaits.com/swaits/longhikes; a change accepted on GitHub is passed on to it automatically.
- 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 author 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.tomlin a fork, and open a pull request. Say where each changed fact can be checked. - Every pull request is checked automatically by
tools/validate.pyand the site's tests. A person still reviews it, most of all where a track is added or changed.
Correct a trail
- Edit only that trail's directory.
- Keep every field name in
trail.toml(see docs/schema.md). Say in the commit message which fields changed and why. - If you change a track, name its source and licence. A track may only be included when its source's terms allow redistribution. United States federal data is public domain. OpenStreetMap data is ODbL and needs the credit "© OpenStreetMap contributors". If a publisher's own track may not be passed on, do not include it: keep the record, use an OpenStreetMap track if one is already recorded for the trail, or include no track and say why in
source.line_absent_reason. - Update
release.txtwhen track files change: source, licence, and the date read. - Rebuild the generated files and check everything:
python3 tools/build_index.py
python3 tools/validate.py
The second command must print OK <n> trails.
Add a trail
A trail belongs here when it meets the inclusion rule in README.md: a named, continuous walking route, or a named loop, of at least 50 miles (80 km) (a few well-known routes of 60-80 km are also listed), in the United States or Canada. It is either a trail that a land agency or a trail association designates, maintains and publishes as one trail, or a route: a high route, a traverse or a loop of linked trails that a hiker or a small group worked out and published.
A route whose author chooses not to publish a track is still added, with no track included, pointing to where the route is got from. No track for it is included from any source, OpenStreetMap included. The rule is in README.md, section "Inclusion rule"; the fields are in docs/schema.md.
To add one:
- Create a directory named with a new stable
id: lower-case words joined by hyphens. It never changes afterwards. - Write
trail.tomlwith every required field in docs/schema.md. - Add
line.geojsononly if the track may be shared (see above), plusrelease.txt. For a track from an OpenStreetMap route relation, create the trail directory andtrail.tomlfirst, then runpython3 tools/osm_track.py RELATION_ID --id TRAIL_ID(Python standard library only; add--dryto print the figures and write nothing). It fetches the relation and its sub-relations through Overpass, writesline.geojson,alternates.geojson(only when there are side ways) andrelease.txt, and prints the way counts, the measured length in km and the number of parts for[verification]and[osm]. It will not replace an existingline.geojsonwithout--force. To point to other good pages about the trail (a wiki or encyclopedia article), add a[[link]]table for each; the trail's own page goes inhike.official_urlinstead. - Add a logo only as
shield.svgorshield.png, and name its holder inshield.logo_ownerand where the art came from inshield.logo_source. - Run the two commands above.
Refresh a trail from its source
- Read the trail's
[source]section.source.urlis where to ask for the track;source.discoverysays how to tell whether the source has changed. - Fetch the new track from that source. Do not pin a dated file name where the source offers a current layer or relation.
For an OpenStreetMap relation,
python3 tools/osm_track.py RELATION_ID --id TRAIL_ID --forcedoes steps 2 and 3 and prints the figures for step 4 (see "Add a trail"). - Replace
line.geojson(andalternates.geojsonorline-<source>.geojsonwhere present), keeping coordinates in longitude, latitude order. The published copy rounds coordinates to 6 decimal places and uses compact JSON. - Update
source.source_checked,release.txt, and the[verification]section (measured length of the new track, and the difference fromlength_km). - If the measured length differs from
length_kmby more than 15%, explain why insource.length_gap_note(for example: the trail is partly unbuilt, or the published length counts side trails). - Run
python3 tools/build_index.py, thenpython3 tools/validate.py.
Style
- Plain, short English. No sales talk.
- Records state facts and sources. If a term comes from a source page, quote the sentence and give the page in
source.licence_textor SOURCES.md. - Do not add personal names or email addresses, local file paths, or notes about how a change was produced. This is about contributors and about how a change was made. The published name of a route's author, or of a guide's author, is a fact about the route and belongs in the record (
route.creator,guide.author).