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
2026-11-09 16:08:44 -07:00
2026-11-09 16:08:44 -07:00

Open Long Trails

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 line where it may be shared, and the trail's logo where one exists. First compiled for the PHRP route planner.

What this is, and what it is not

This is a dataset, not a guide. Each record says what the trail is, how long it is, where its line came from, and under what terms that line may be used. It is not a navigation product: lines vary in quality, some trails are unfinished, and some records have no line at all. Check a trail's own record before using its line.

The counts at this release: 64 trail records, 40 with a line, 24 records only.

Inclusion rule

A long trail here is a named, continuous walking route, or a named loop, of at least 100 km, that a land agency or a trail association designates, maintains and publishes as one trail, in the United States or Canada. A small number of well-known multi-day trails between 60 km and 100 km are also listed.

Every United States National Scenic Trail is listed. Other trails are listed when they meet the rule above.

Some routes are left out on purpose. A few route creators choose not to publish a track for their route, because finding the way is part of the route. Those routes are not listed here, and no line for them is included, out of respect for that choice. Routes whose creators do publish a track are not affected by this rule.

A trail may be listed as a record only, with no line, when no line for it may be shared. The record says why.

Trails

ID Trail Country States / provinces Length (km) Line Licence
allegheny-trail Allegheny Trail US WV 530 yes ODbL-1.0
appalachian Appalachian National Scenic Trail US GA, NC, TN, VA, WV, MD, PA, NJ, NY, CT, MA, VT, NH, ME 3537 yes us-gov-public-domain
arizona Arizona National Scenic Trail US AZ 1287 no (record only) none-stated
backbone Backbone Trail US CA 108 yes ODbL-1.0
benton-mackaye Benton MacKaye Trail US GA, TN, NC 463 yes ODbL-1.0
border-route Border Route Trail US MN 105 yes ODbL-1.0
bruce-trail Bruce Trail CA ON 890 yes ODbL-1.0
buckeye Buckeye Trail US OH 2250 yes ODbL-1.0
california-coastal California Coastal Trail US CA 1931 no (record only) none-stated
cohos Cohos Trail US NH 270 yes ODbL-1.0
colorado-trail Colorado Trail US CO 782 yes us-gov-public-domain
continental-divide Continental Divide National Scenic Trail US NM, CO, WY, ID, MT 4989 yes CC-BY
cumberland-trail Cumberland Trail US TN 480 yes ODbL-1.0
east-coast-trail East Coast Trail (Newfoundland) CA NL 336 yes ODbL-1.0
finger-lakes Finger Lakes Trail US NY 950 yes ODbL-1.0
florida Florida National Scenic Trail US FL 2414 no (record only) none-stated
foothills Foothills Trail US SC, NC 122 yes ODbL-1.0
fundy-footpath Fundy Footpath CA NB 41 no (record only) ODbL-1.0
ganaraska Ganaraska Hiking Trail CA ON 500 yes ODbL-1.0
grand-enchantment Grand Enchantment Trail US AZ, NM 1239 no (record only) ODbL-1.0
great-divide-trail Great Divide Trail CA AB, BC 1130 no (record only) none-stated
great-eastern Great Eastern Trail US AL, GA, TN, KY, VA, WV, MD, PA, NY 3200 no (record only) ODbL-1.0
great-trail The Great Trail (Trans Canada Trail) CA all provinces and territories 28000 no (record only) CC-BY-NC-ND-4.0
great-western Great Western Trail US AZ, UT, ID, WY, MT 4800 no (record only) none-stated
ice-age Ice Age National Scenic Trail US WI 1931 no (record only) none-stated
idaho-centennial Idaho Centennial Trail US ID 1448 no (record only) none-stated
iditarod Iditarod National Historic Trail US AK 3701 no (record only) us-gov-public-domain
john-muir John Muir Trail US CA 340 yes ODbL-1.0
kekekabic Kekekabic Trail US MN 66 no (record only) ODbL-1.0
lone-star Lone Star Hiking Trail US TX 155 yes ODbL-1.0
long-path Long Path US NJ, NY 576 no (record only) none-stated
long-trail Long Trail (Vermont) US VT 438 yes ODbL-1.0
metacomet-monadnock Metacomet-Monadnock Trail US CT, MA, NH 185 yes ODbL-1.0
mid-state Mid State Trail US PA 515 no (record only) none-stated
mountains-to-sea Mountains-to-Sea Trail US NC 1890 yes ODbL-1.0
natchez-trace Natchez Trace National Scenic Trail US MS, AL, TN 105 yes us-gov-public-domain
new-england New England National Scenic Trail US CT, MA 378 yes us-gov-public-domain
nez-perce Nez Perce (Nee-Me-Poo) National Historic Trail US OR, ID, MT, WY 1883 no (record only) us-gov-public-domain
north-country North Country National Scenic Trail US ND, MN, WI, MI, OH, PA, NY, VT 7403 no (record only) none-stated
northville-placid Northville-Placid Trail US NY 220 yes ODbL-1.0
oregon-coast Oregon Coast Trail US OR 650 yes ODbL-1.0
oregon-desert Oregon Desert Trail US OR 1200 no (record only) ODbL-1.0
overmountain-victory Overmountain Victory National Historic Trail US VA, TN, NC, SC 540 no (record only) us-gov-public-domain
ozark-highlands Ozark Highlands Trail US AR 435 yes ODbL-1.0
ozark-trail Ozark Trail (Missouri) US MO 630 yes ODbL-1.0
pacific-crest Pacific Crest National Scenic Trail US CA, OR, WA 4265 yes CC-BY-4.0
pacific-northwest Pacific Northwest National Scenic Trail US MT, ID, WA 1931 yes us-gov-public-domain
palmetto Palmetto Trail US SC 800 yes ODbL-1.0
pinhoti Pinhoti Trail US AL, GA 540 yes ODbL-1.0
potomac-heritage Potomac Heritage National Scenic Trail US DC, MD, VA, PA 1448 yes us-gov-public-domain
pukaskwa-coastal Pukaskwa Coastal Hiking Trail CA ON 60 no (record only) ODbL-1.0
rideau-trail Rideau Trail CA ON 387 yes ODbL-1.0
sentier-international-appalaches Sentier international des Appalaches (International Appalachian Trail, Quebec and New Brunswick) CA QC, NB 1177 yes ODbL-1.0
sentier-national Sentier National (Quebec) CA QC 1500 yes ODbL-1.0
sheltowee-trace Sheltowee Trace National Recreation Trail US KY, TN 515 yes ODbL-1.0
sunshine-coast Sunshine Coast Trail CA BC 180 yes ODbL-1.0
superior-hiking Superior Hiking Trail US MN 499 no (record only) none-stated
tahoe-rim Tahoe Rim Trail US CA, NV 266 yes ODbL-1.0
teton-crest Teton Crest Trail US WY 64 no (record only) ODbL-1.0
timberline Timberline Trail (Mount Hood) US OR 64 no (record only) us-gov-public-domain
uinta-highline Uinta Highline Trail US UT 167 yes ODbL-1.0
voyageur Voyageur Trail CA ON 1100 yes ODbL-1.0
west-coast-trail West Coast Trail CA BC 75 no (record only) ODbL-1.0
wonderland Wonderland Trail US WA 150 yes ODbL-1.0

Layout

One directory per trail. The directory name is the trail's stable id and never changes.

<id>/trail.toml            the record (see docs/schema.md)
<id>/line.geojson          the main line, where one may be shared
<id>/alternates.geojson    alternate and connector lines, where the source serves them separately
<id>/line-<source>.geojson one source's own extract, where a line combines sources
<id>/release.txt           the source, licence and date the line files came from
<id>/shield.svg            the trail's logo, where one exists (SVG preferred)
<id>/shield.png            the trail's logo, where no SVG exists

In the published copy, GeoJSON coordinates are rounded to 6 decimal places (about 0.1 m) and written as compact JSON. Geometry is otherwise as the source served it. Raw download files that were only used to build a line (for example raw OpenStreetMap XML extracts) are not included; the record names the source and relation they came from.

Top-level generated files:

trails.csv      one row per trail (built by tools/build_index.py)
index.geojson   every included line, simplified to about 100 m, with id and name
SOURCES.md      each distinct source, its terms, and the trails that use it

How to use it

  • Read a trail: open its trail.toml. The [source] section says where the line came from and under what terms it may be used.
  • Read all trails at once: use trails.csv, or index.geojson for a map overview.
  • Check the data: run python3 tools/validate.py. It prints OK 64 trails when all records pass.
  • Rebuild the generated files after editing a record: run python3 tools/build_index.py.

Follow the licence in each record. Lines from OpenStreetMap need the credit "© OpenStreetMap contributors" and stay under the ODbL. Lines from United States federal agencies are public domain in the United States. Other lines carry the credit named in their record.

Licences

The records, documents and compiled index in this repository are dedicated to the public domain under CC0-1.0 (see LICENSE). The tools in tools/ are under the MIT licence (see LICENSES/MIT.txt). Each trail's line keeps the terms of its source, stated in that trail's record (see SOURCES.md). Lines from OpenStreetMap are © OpenStreetMap contributors, under the ODbL (see LICENSES/ODbL-1.0.txt). Trail logos are not covered by any of these licences; see NOTICE.md.

Logos

Logos are included only to identify each trail. They belong to their holders, are not covered by this repository's licences, and will be removed at the holder's request. See NOTICE.md for how to ask.

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 line). Corrections to a line should name the source the corrected line 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

See SOURCES.md for each distinct source, the sentence that states its terms, the page it was read on, and the date it was read.

S
Description
Long-distance hiking trails of the United States and Canada: one record per trail, with its track where it may be shared. Source of longhikes.org.
https://longhikes.org
Readme CC-BY-4.0 CC0-1.0 MIT ODbL-1.0
73 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 88.8%
CSS 5.6%
JavaScript 5.6%