From ae86d5c3ccac3f63de8148022a8c4f0b4aae9450 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 15 Nov 2026 01:25:14 -0700 Subject: [PATCH] Keep a trail's abbreviation only where one is in real use Every record had an abbreviation because the schema required one, so where a trail had none one was made up. Nineteen were shared by 49 trails and many were inventions nobody uses ("TCT-WY", "BT-ON"). The rule now: - An abbreviation is recorded only where the trail's holder or author uses it, or it is in established use among hikers. The new field short_name_url names the page where it was seen. - None is made up. short_name is optional, and a trail nobody abbreviates has none. - It is written without full stops: "AT", not "A.T.". - Two trails may truthfully share one. The City of Prescott calls the Prescott Circle Trail "the PCT", so its record says so. Each of the 182 abbreviations was checked against the trail's own pages. 104 are kept with their source page, 13 of them corrected to the form in use (for example "MST" for both the Mountains-to-Sea and Mid State trails, "FT" for the Florida Trail). 78 are removed. The validator enforces the rule. Co-Authored-By: Claude Fable 5.2 --- CONTRIBUTING.md | 2 +- akshayuk-pass/trail.toml | 1 - alexander-mackenzie/trail.toml | 1 - allegheny-trail/trail.toml | 1 + american-discovery-trail/trail.toml | 1 + appalachian-high-route/trail.toml | 1 + appalachian/trail.toml | 1 + arizona/trail.toml | 1 + avon/trail.toml | 1 - backbone/trail.toml | 1 + baker/trail.toml | 1 - bartram/trail.toml | 1 + basin-and-range-trail/trail.toml | 1 + batona/trail.toml | 1 - bay-area-ridge/trail.toml | 1 - bay-circuit/trail.toml | 1 + beartooth-high-route/trail.toml | 1 - benton-mackaye/trail.toml | 1 + big-seki-loop/trail.toml | 1 + bigfoot-trail/trail.toml | 1 - bitterroots-80-mile-route/trail.toml | 1 - black-canyon/trail.toml | 1 - blue-mountains-trail/trail.toml | 1 + border-route/trail.toml | 1 + boreal-trail/trail.toml | 1 - brazeau-loop/trail.toml | 1 - brooks-range-traverse/trail.toml | 1 - bruce-trail/trail.toml | 1 - buckeye/trail.toml | 1 - california-coastal/trail.toml | 1 + canol/trail.toml | 1 - centennial-sd/trail.toml | 1 - chesapeake-ohio-canal/trail.toml | 1 + chinese-wall-circuit/trail.toml | 1 - chuck-keiper/trail.toml | 1 - circle-of-solitude/trail.toml | 1 - cohos/trail.toml | 1 - colorado-trail/trail.toml | 1 + condor-trail/trail.toml | 1 + conestoga-trail/trail.toml | 1 - conservation-trail/trail.toml | 1 - continental-divide/trail.toml | 1 + corvallis-to-the-sea/trail.toml | 1 + cottonwood-trail/trail.toml | 1 - cranberry-lake-50/trail.toml | 1 + cross-vermont/trail.toml | 1 + cumberland-trail/trail.toml | 1 - deseret-hiking-route/trail.toml | 1 + desert-trail/trail.toml | 1 + desert-winter-thru-hike/trail.toml | 1 + docs/schema.md | 4 +- donut-hole/trail.toml | 1 + east-beach-trail/trail.toml | 1 - east-coast-trail/trail.toml | 1 + eastern-continental-trail/trail.toml | 1 + finger-lakes/trail.toml | 1 + florida/trail.toml | 3 +- foothills/trail.toml | 1 - fremont/trail.toml | 1 - ganaraska/trail.toml | 1 - general-george-crook/trail.toml | 1 - grand-enchantment/trail.toml | 1 + grand-moab-route/trail.toml | 1 - grand-valley-trail/trail.toml | 1 - great-basin-trail/trail.toml | 1 + great-colorado-route/trail.toml | 1 + great-divide-trail/trail.toml | 1 + great-eastern/trail.toml | 1 + great-plains-trail/trail.toml | 1 + great-western-divide-loop/trail.toml | 1 - great-western-loop/trail.toml | 1 + guadalupe-ridge-trail/trail.toml | 1 + hayduke-trail/trail.toml | 1 - high-country-pathway/trail.toml | 1 - high-sierra/trail.toml | 1 - highlands/trail.toml | 1 - highline/trail.toml | 1 - horse-shoe/trail.toml | 1 + hot-springs-trail/trail.toml | 1 + iat-newfoundland-labrador/trail.toml | 3 +- ice-age/trail.toml | 1 + idaho-centennial/trail.toml | 1 + .../trail.toml | 3 +- iron-belle-trail/trail.toml | 1 + island-walk/trail.toml | 1 + itijjagiaq-trail/trail.toml | 1 - john-muir/trail.toml | 1 + kekekabic/trail.toml | 1 + kings-canyon-high-basin-route/trail.toml | 1 + knobstone/trail.toml | 1 + la-cloche/trail.toml | 1 - laurel-highlands/trail.toml | 1 + lone-star/trail.toml | 1 + long-path/trail.toml | 1 + long-trail/trail.toml | 1 - lost-coast/trail.toml | 1 - lowest-to-highest-route/trail.toml | 1 + loyalsock/trail.toml | 1 + maah-daah-hey/trail.toml | 1 - mason-dixon/trail.toml | 3 +- massanutten/trail.toml | 1 - mattabesett/trail.toml | 1 - metacomet-monadnock/trail.toml | 3 +- mid-state/trail.toml | 3 +- midstate-ma/trail.toml | 1 + mogollon-rim-trail/trail.toml | 1 + mojave-sonoran-trail/trail.toml | 1 + monadnock-sunapee/trail.toml | 1 + montana-trail/trail.toml | 1 - mountains-to-sea/trail.toml | 3 +- natchez-trace/trail.toml | 1 - nepisiguit-migmaq-trail/trail.toml | 1 + new-england/trail.toml | 1 + north-boundary/trail.toml | 1 - north-country/trail.toml | 1 - north-south/trail.toml | 1 - north-umpqua/trail.toml | 1 + northern-new-mexico-loop/trail.toml | 1 - northville-placid/trail.toml | 1 + oak-ridges/trail.toml | 1 - ocean-to-lake/trail.toml | 1 + oregon-coast/trail.toml | 1 + oregon-desert/trail.toml | 1 + ottawa-temiskaming-highland-trail/trail.toml | 1 + ouachita/trail.toml | 1 + ozark-highlands/trail.toml | 1 + ozark-trail/trail.toml | 1 + pacific-crest/trail.toml | 1 + pacific-northwest/trail.toml | 1 + palmetto/trail.toml | 1 - paumanok-path/trail.toml | 1 - pfiffner-traverse/trail.toml | 1 - pinhoti/trail.toml | 1 - potomac-heritage/trail.toml | 3 +- prescott-circle/trail.toml | 1 + pukaskwa-coastal/trail.toml | 1 - quehanna/trail.toml | 1 + rideau-trail/trail.toml | 1 - ring-the-peak/trail.toml | 1 - river-to-river/trail.toml | 1 + route-in-between/trail.toml | 1 + san-diego-trans-county-trail/trail.toml | 1 + santa-fe-to-taos/trail.toml | 1 + sawtooth-wilderness-high-route/trail.toml | 1 - sea-to-sea-route/trail.toml | 1 + sentier-international-appalaches/trail.toml | 3 +- sentier-national/trail.toml | 3 +- shawangunk-ridge-trail/trail.toml | 1 + sheltowee-trace/trail.toml | 1 - sierra-grand-traverse/trail.toml | 1 - sierra-high-route/trail.toml | 1 + sky-islands-traverse/trail.toml | 3 +- south-boundary/trail.toml | 1 - southeastern-serpentine-trail/trail.toml | 1 + southern-sierra-high-route/trail.toml | 1 + southwestern-horseshoe/trail.toml | 1 + standing-stone/trail.toml | 1 + sunapee-ragged-kearsarge/trail.toml | 1 + sunshine-coast/trail.toml | 1 + superior-hiking/trail.toml | 1 + susquehannock/trail.toml | 1 + tahoe-rim/trail.toml | 1 + tahoe-yosemite-trail/trail.toml | 1 - teton-crest/trail.toml | 3 +- teton-range-traverse/trail.toml | 1 - thames-valley-trail/trail.toml | 1 - timberline/trail.toml | 1 - toiyabe-crest/trail.toml | 1 - tools/tests/test_short_name.py | 59 +++++++++++++++++++ tools/validate.py | 21 ++++++- trans-adirondack-route/trail.toml | 1 + traversee-charlevoix/trail.toml | 1 - tuscarora/trail.toml | 1 - uinta-highline/trail.toml | 1 - vagabond-loop/trail.toml | 1 + vancouver-island-backbone/trail.toml | 1 - vancouver-island/trail.toml | 1 + voyageur/trail.toml | 1 - warrior-trail/trail.toml | 1 - wasatch-traverse/trail.toml | 1 - waskahegan/trail.toml | 1 - west-coast-trail/trail.toml | 1 + wind-river-high-route-dixon-wilson/trail.toml | 3 +- wind-river-high-route-skurka/trail.toml | 1 + wonderland/trail.toml | 1 - yosemite-high-route/trail.toml | 1 - 186 files changed, 200 insertions(+), 94 deletions(-) create mode 100644 tools/tests/test_short_name.py diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9b449e3..83a2eeb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ A route whose author chooses not to publish a track is still added, with no trac To add one: 1. Create a directory named with a new stable `id`: lower-case words joined by hyphens. It never changes afterwards. -2. Write `trail.toml` with every required field in docs/schema.md. +2. Write `trail.toml` with every required field in docs/schema.md. Give `short_name` only if the trail's holder or author uses an abbreviation, or hikers commonly do, and put the page where you saw it in `short_name_url`; never make one up. 3. Add `line.geojson` only if the track may be shared (see above), plus `release.txt`. For a track from an OpenStreetMap route relation, create the trail directory and `trail.toml` first, then run `python3 tools/osm_track.py RELATION_ID --id TRAIL_ID` (Python standard library only; add `--dry` to print the figures and write nothing). It fetches the relation and its sub-relations through Overpass, writes `line.geojson`, `alternates.geojson` (only when there are side ways) and `release.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 existing `line.geojson` without `--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 in `hike.official_url` instead. diff --git a/akshayuk-pass/trail.toml b/akshayuk-pass/trail.toml index 6aa9bf8..a7386ff 100644 --- a/akshayuk-pass/trail.toml +++ b/akshayuk-pass/trail.toml @@ -2,7 +2,6 @@ id = "akshayuk-pass" name = "Akshayuk Pass" -short_name = "AP" country = "CA" regions = ["NU"] length_km = 97 diff --git a/alexander-mackenzie/trail.toml b/alexander-mackenzie/trail.toml index 496ef94..c3ccd39 100644 --- a/alexander-mackenzie/trail.toml +++ b/alexander-mackenzie/trail.toml @@ -2,7 +2,6 @@ id = "alexander-mackenzie" name = "Alexander MacKenzie Heritage Trail" -short_name = "AMHT" country = "CA" regions = ["BC"] length_km = 420 diff --git a/allegheny-trail/trail.toml b/allegheny-trail/trail.toml index c88d380..e10f84e 100644 --- a/allegheny-trail/trail.toml +++ b/allegheny-trail/trail.toml @@ -3,6 +3,7 @@ id = "allegheny-trail" name = "Allegheny Trail" short_name = "ALT" +short_name_url = "https://hikethealleghenytrail.org/" country = "US" regions = ["WV"] length_km = 530 diff --git a/american-discovery-trail/trail.toml b/american-discovery-trail/trail.toml index 7bf886a..c2f543a 100644 --- a/american-discovery-trail/trail.toml +++ b/american-discovery-trail/trail.toml @@ -3,6 +3,7 @@ id = "american-discovery-trail" name = "American Discovery Trail" short_name = "ADT" +short_name_url = "https://discoverytrail.org/" country = "US" regions = ["DE", "MD", "DC", "WV", "OH", "KY", "IN", "IL", "IA", "MO", "KS", "NE", "CO", "UT", "NV", "CA"] length_km = 10943 diff --git a/appalachian-high-route/trail.toml b/appalachian-high-route/trail.toml index 4cba5b1..16c19c9 100644 --- a/appalachian-high-route/trail.toml +++ b/appalachian-high-route/trail.toml @@ -3,6 +3,7 @@ id = "appalachian-high-route" name = "Appalachian High Route" short_name = "AHR" +short_name_url = "https://jenniferpharrdavis.com/blog/hiking-appalachian-high-route" country = "US" regions = ["NC", "TN"] length_km = 531 diff --git a/appalachian/trail.toml b/appalachian/trail.toml index bd17292..1f0f066 100644 --- a/appalachian/trail.toml +++ b/appalachian/trail.toml @@ -3,6 +3,7 @@ id = "appalachian" name = "Appalachian National Scenic Trail" short_name = "AT" +short_name_url = "https://www.nps.gov/appa/index.htm" country = "US" regions = ["GA", "NC", "TN", "VA", "WV", "MD", "PA", "NJ", "NY", "CT", "MA", "VT", "NH", "ME"] length_km = 3537 diff --git a/arizona/trail.toml b/arizona/trail.toml index f1281eb..f9ef056 100644 --- a/arizona/trail.toml +++ b/arizona/trail.toml @@ -3,6 +3,7 @@ id = "arizona" name = "Arizona National Scenic Trail" short_name = "AZT" +short_name_url = "https://aztrail.org/" country = "US" regions = ["AZ"] length_km = 1287 diff --git a/avon/trail.toml b/avon/trail.toml index 192451a..e743170 100644 --- a/avon/trail.toml +++ b/avon/trail.toml @@ -2,7 +2,6 @@ id = "avon" name = "Avon Trail" -short_name = "AT" country = "CA" regions = ["ON"] length_km = 130 diff --git a/backbone/trail.toml b/backbone/trail.toml index 1c1a38e..3a76515 100644 --- a/backbone/trail.toml +++ b/backbone/trail.toml @@ -3,6 +3,7 @@ id = "backbone" name = "Backbone Trail" short_name = "BBT" +short_name_url = "https://www.nps.gov/samo/planyourvisit/backbonetrail.htm" country = "US" regions = ["CA"] length_km = 108 diff --git a/baker/trail.toml b/baker/trail.toml index 5533ed3..eb4c180 100644 --- a/baker/trail.toml +++ b/baker/trail.toml @@ -2,7 +2,6 @@ id = "baker" name = "Baker Trail" -short_name = "BT" country = "US" regions = ["PA"] length_km = 216 diff --git a/bartram/trail.toml b/bartram/trail.toml index b51d6ec..99b9e85 100644 --- a/bartram/trail.toml +++ b/bartram/trail.toml @@ -3,6 +3,7 @@ id = "bartram" name = "Bartram Trail" short_name = "BT" +short_name_url = "https://blueridgebartram.org/" country = "US" regions = ["GA", "NC"] length_km = 180 diff --git a/basin-and-range-trail/trail.toml b/basin-and-range-trail/trail.toml index 01bb3fe..f4b6197 100644 --- a/basin-and-range-trail/trail.toml +++ b/basin-and-range-trail/trail.toml @@ -3,6 +3,7 @@ id = "basin-and-range-trail" name = "Basin and Range Trail" short_name = "BRT" +short_name_url = "https://seekinglost.com/basin-and-range-trail/" country = "US" regions = ["NV"] length_km = 1754 diff --git a/batona/trail.toml b/batona/trail.toml index b33a73f..fbc942e 100644 --- a/batona/trail.toml +++ b/batona/trail.toml @@ -2,7 +2,6 @@ id = "batona" name = "Batona Trail" -short_name = "BT" country = "US" regions = ["NJ"] length_km = 80 diff --git a/bay-area-ridge/trail.toml b/bay-area-ridge/trail.toml index af30cb3..6c544ca 100644 --- a/bay-area-ridge/trail.toml +++ b/bay-area-ridge/trail.toml @@ -2,7 +2,6 @@ id = "bay-area-ridge" name = "Bay Area Ridge Trail" -short_name = "BART" country = "US" regions = ["CA"] length_km = 885 diff --git a/bay-circuit/trail.toml b/bay-circuit/trail.toml index 3b31c18..067bcc5 100644 --- a/bay-circuit/trail.toml +++ b/bay-circuit/trail.toml @@ -3,6 +3,7 @@ id = "bay-circuit" name = "Bay Circuit Trail" short_name = "BCT" +short_name_url = "https://www.baycircuit.org/" country = "US" regions = ["MA"] length_km = 370 diff --git a/beartooth-high-route/trail.toml b/beartooth-high-route/trail.toml index 41a942f..4ded08e 100644 --- a/beartooth-high-route/trail.toml +++ b/beartooth-high-route/trail.toml @@ -2,7 +2,6 @@ id = "beartooth-high-route" name = "Beartooth High Route" -short_name = "BHR" country = "US" regions = ["MT", "WY"] length_km = 145 diff --git a/benton-mackaye/trail.toml b/benton-mackaye/trail.toml index 1481946..510a65e 100644 --- a/benton-mackaye/trail.toml +++ b/benton-mackaye/trail.toml @@ -3,6 +3,7 @@ id = "benton-mackaye" name = "Benton MacKaye Trail" short_name = "BMT" +short_name_url = "https://www.bmta.org/" country = "US" regions = ["GA", "TN", "NC"] length_km = 463 diff --git a/big-seki-loop/trail.toml b/big-seki-loop/trail.toml index c082249..1324282 100644 --- a/big-seki-loop/trail.toml +++ b/big-seki-loop/trail.toml @@ -3,6 +3,7 @@ id = "big-seki-loop" name = "Big SEKI Loop" short_name = "BSL" +short_name_url = "https://doingmiles.com/route-big-seki-loop/" country = "US" regions = ["CA"] length_km = 249 diff --git a/bigfoot-trail/trail.toml b/bigfoot-trail/trail.toml index 037d092..5c40679 100644 --- a/bigfoot-trail/trail.toml +++ b/bigfoot-trail/trail.toml @@ -2,7 +2,6 @@ id = "bigfoot-trail" name = "Bigfoot Trail" -short_name = "BFT" country = "US" regions = ["CA", "OR"] length_km = 579 diff --git a/bitterroots-80-mile-route/trail.toml b/bitterroots-80-mile-route/trail.toml index a76a969..0bf6f06 100644 --- a/bitterroots-80-mile-route/trail.toml +++ b/bitterroots-80-mile-route/trail.toml @@ -2,7 +2,6 @@ id = "bitterroots-80-mile-route" name = "Bitterroots 80-mile Route" -short_name = "B80" country = "US" regions = ["MT"] length_km = 126 diff --git a/black-canyon/trail.toml b/black-canyon/trail.toml index 1e375bf..4a60f24 100644 --- a/black-canyon/trail.toml +++ b/black-canyon/trail.toml @@ -2,7 +2,6 @@ id = "black-canyon" name = "Black Canyon National Recreation Trail" -short_name = "BCT" country = "US" regions = ["AZ"] length_km = 129 diff --git a/blue-mountains-trail/trail.toml b/blue-mountains-trail/trail.toml index a0ef538..23f4971 100644 --- a/blue-mountains-trail/trail.toml +++ b/blue-mountains-trail/trail.toml @@ -3,6 +3,7 @@ id = "blue-mountains-trail" name = "Blue Mountains Trail" short_name = "BMT" +short_name_url = "https://www.hellscanyon.org/blue-mountains-trail" country = "US" regions = ["OR"] length_km = 853 diff --git a/border-route/trail.toml b/border-route/trail.toml index e261da2..cfbddb6 100644 --- a/border-route/trail.toml +++ b/border-route/trail.toml @@ -3,6 +3,7 @@ id = "border-route" name = "Border Route Trail" short_name = "BRT" +short_name_url = "https://borderroutetrail.org/" country = "US" regions = ["MN"] length_km = 105 diff --git a/boreal-trail/trail.toml b/boreal-trail/trail.toml index 9ea8f8f..bfb5825 100644 --- a/boreal-trail/trail.toml +++ b/boreal-trail/trail.toml @@ -2,7 +2,6 @@ id = "boreal-trail" name = "Boreal Trail" -short_name = "BT" country = "CA" regions = ["SK"] length_km = 135 diff --git a/brazeau-loop/trail.toml b/brazeau-loop/trail.toml index 7f41ab5..20ca49c 100644 --- a/brazeau-loop/trail.toml +++ b/brazeau-loop/trail.toml @@ -2,7 +2,6 @@ id = "brazeau-loop" name = "Brazeau Loop" -short_name = "BL" country = "CA" regions = ["AB"] length_km = 81 diff --git a/brooks-range-traverse/trail.toml b/brooks-range-traverse/trail.toml index ec2b075..6a5c829 100644 --- a/brooks-range-traverse/trail.toml +++ b/brooks-range-traverse/trail.toml @@ -2,7 +2,6 @@ id = "brooks-range-traverse" name = "Brooks Range Traverse" -short_name = "BRT" country = "US" regions = ["AK"] length_km = 1609 diff --git a/bruce-trail/trail.toml b/bruce-trail/trail.toml index 72efe9f..6bc81f4 100644 --- a/bruce-trail/trail.toml +++ b/bruce-trail/trail.toml @@ -2,7 +2,6 @@ id = "bruce-trail" name = "Bruce Trail" -short_name = "BT-ON" country = "CA" regions = ["ON"] length_km = 890 diff --git a/buckeye/trail.toml b/buckeye/trail.toml index a47fc21..3225008 100644 --- a/buckeye/trail.toml +++ b/buckeye/trail.toml @@ -2,7 +2,6 @@ id = "buckeye" name = "Buckeye Trail" -short_name = "BT" country = "US" regions = ["OH"] length_km = 2250 diff --git a/california-coastal/trail.toml b/california-coastal/trail.toml index 4f2b94f..1e2d2bc 100644 --- a/california-coastal/trail.toml +++ b/california-coastal/trail.toml @@ -3,6 +3,7 @@ id = "california-coastal" name = "California Coastal Trail" short_name = "CCT" +short_name_url = "https://www.coastal.ca.gov/coastal-trail/" country = "US" regions = ["CA"] length_km = 1931 diff --git a/canol/trail.toml b/canol/trail.toml index 42e9957..ded8ee1 100644 --- a/canol/trail.toml +++ b/canol/trail.toml @@ -2,7 +2,6 @@ id = "canol" name = "Canol Heritage Trail" -short_name = "CHT" country = "CA" regions = ["NT"] length_km = 371 diff --git a/centennial-sd/trail.toml b/centennial-sd/trail.toml index 56e88d0..5612d24 100644 --- a/centennial-sd/trail.toml +++ b/centennial-sd/trail.toml @@ -2,7 +2,6 @@ id = "centennial-sd" name = "Centennial Trail" -short_name = "CT" country = "US" regions = ["SD"] length_km = 179 diff --git a/chesapeake-ohio-canal/trail.toml b/chesapeake-ohio-canal/trail.toml index 8778ecd..f20f285 100644 --- a/chesapeake-ohio-canal/trail.toml +++ b/chesapeake-ohio-canal/trail.toml @@ -3,6 +3,7 @@ id = "chesapeake-ohio-canal" name = "Chesapeake and Ohio Canal Towpath" short_name = "C&O" +short_name_url = "https://www.nps.gov/choh/planyourvisit/hiking.htm" country = "US" regions = ["MD", "DC", "WV"] length_km = 297 diff --git a/chinese-wall-circuit/trail.toml b/chinese-wall-circuit/trail.toml index a2c5997..d992c6d 100644 --- a/chinese-wall-circuit/trail.toml +++ b/chinese-wall-circuit/trail.toml @@ -2,7 +2,6 @@ id = "chinese-wall-circuit" name = "The Chinese Wall Circuit" -short_name = "CWC" country = "US" regions = ["MT"] length_km = 127 diff --git a/chuck-keiper/trail.toml b/chuck-keiper/trail.toml index 5f909c6..0a920a0 100644 --- a/chuck-keiper/trail.toml +++ b/chuck-keiper/trail.toml @@ -2,7 +2,6 @@ id = "chuck-keiper" name = "Chuck Keiper Trail" -short_name = "CKT" country = "US" regions = ["PA"] length_km = 80 diff --git a/circle-of-solitude/trail.toml b/circle-of-solitude/trail.toml index 03e5836..0f0152b 100644 --- a/circle-of-solitude/trail.toml +++ b/circle-of-solitude/trail.toml @@ -2,7 +2,6 @@ id = "circle-of-solitude" name = "Circle of Solitude" -short_name = "CoS" country = "US" regions = ["CA"] length_km = 109 diff --git a/cohos/trail.toml b/cohos/trail.toml index 1ec2392..e48c47b 100644 --- a/cohos/trail.toml +++ b/cohos/trail.toml @@ -2,7 +2,6 @@ id = "cohos" name = "Cohos Trail" -short_name = "COHOS" country = "US" regions = ["NH"] length_km = 270 diff --git a/colorado-trail/trail.toml b/colorado-trail/trail.toml index 443aa1a..0597da4 100644 --- a/colorado-trail/trail.toml +++ b/colorado-trail/trail.toml @@ -3,6 +3,7 @@ id = "colorado-trail" name = "Colorado Trail" short_name = "CT" +short_name_url = "https://coloradotrail.org/" country = "US" regions = ["CO"] length_km = 782 diff --git a/condor-trail/trail.toml b/condor-trail/trail.toml index a592ead..dfddd4c 100644 --- a/condor-trail/trail.toml +++ b/condor-trail/trail.toml @@ -3,6 +3,7 @@ id = "condor-trail" name = "Condor Trail" short_name = "CT" +short_name_url = "http://www.condortrail.com/" country = "US" regions = ["CA"] length_km = 644 diff --git a/conestoga-trail/trail.toml b/conestoga-trail/trail.toml index a3b1023..0d92ed4 100644 --- a/conestoga-trail/trail.toml +++ b/conestoga-trail/trail.toml @@ -2,7 +2,6 @@ id = "conestoga-trail" name = "Conestoga Trail" -short_name = "CT" country = "US" regions = ["PA"] length_km = 103 diff --git a/conservation-trail/trail.toml b/conservation-trail/trail.toml index 4f5d898..8f0d819 100644 --- a/conservation-trail/trail.toml +++ b/conservation-trail/trail.toml @@ -2,7 +2,6 @@ id = "conservation-trail" name = "Conservation Trail" -short_name = "CT" country = "US" regions = ["NY"] length_km = 285 diff --git a/continental-divide/trail.toml b/continental-divide/trail.toml index 0898aaf..24978b9 100644 --- a/continental-divide/trail.toml +++ b/continental-divide/trail.toml @@ -3,6 +3,7 @@ id = "continental-divide" name = "Continental Divide National Scenic Trail" short_name = "CDT" +short_name_url = "https://cdtcoalition.org/" country = "US" regions = ["NM", "CO", "WY", "ID", "MT"] length_km = 4989 diff --git a/corvallis-to-the-sea/trail.toml b/corvallis-to-the-sea/trail.toml index 3bcbf42..31e4cff 100644 --- a/corvallis-to-the-sea/trail.toml +++ b/corvallis-to-the-sea/trail.toml @@ -3,6 +3,7 @@ id = "corvallis-to-the-sea" name = "Corvallis-to-the-Sea Trail" short_name = "C2C" +short_name_url = "https://c2ctrail.org/" country = "US" regions = ["OR"] length_km = 97 diff --git a/cottonwood-trail/trail.toml b/cottonwood-trail/trail.toml index 3db6ae1..0a9e2a7 100644 --- a/cottonwood-trail/trail.toml +++ b/cottonwood-trail/trail.toml @@ -2,7 +2,6 @@ id = "cottonwood-trail" name = "Cottonwood Trail" -short_name = "CT" country = "CA" regions = ["YT"] length_km = 85 diff --git a/cranberry-lake-50/trail.toml b/cranberry-lake-50/trail.toml index 49ed5c5..58c1429 100644 --- a/cranberry-lake-50/trail.toml +++ b/cranberry-lake-50/trail.toml @@ -3,6 +3,7 @@ id = "cranberry-lake-50" name = "Cranberry Lake 50" short_name = "CL50" +short_name_url = "https://cranberrylake50.org/" country = "US" regions = ["NY"] length_km = 80 diff --git a/cross-vermont/trail.toml b/cross-vermont/trail.toml index 8acbd79..ef0bcf4 100644 --- a/cross-vermont/trail.toml +++ b/cross-vermont/trail.toml @@ -3,6 +3,7 @@ id = "cross-vermont" name = "Cross Vermont Trail" short_name = "CVT" +short_name_url = "https://crossvermont.org/our_trail/index.php" country = "US" regions = ["VT"] length_km = 145 diff --git a/cumberland-trail/trail.toml b/cumberland-trail/trail.toml index 3b79845..b27e7b7 100644 --- a/cumberland-trail/trail.toml +++ b/cumberland-trail/trail.toml @@ -2,7 +2,6 @@ id = "cumberland-trail" name = "Cumberland Trail" -short_name = "CMT" country = "US" regions = ["TN"] length_km = 480 diff --git a/deseret-hiking-route/trail.toml b/deseret-hiking-route/trail.toml index 30f060c..f357693 100644 --- a/deseret-hiking-route/trail.toml +++ b/deseret-hiking-route/trail.toml @@ -3,6 +3,7 @@ id = "deseret-hiking-route" name = "Deseret Hiking Route" short_name = "DHR" +short_name_url = "http://www.lbhikes.com/p/a-complete-guide-to-deseret-hiking-route.html" country = "US" regions = ["UT", "ID"] length_km = 1609 diff --git a/desert-trail/trail.toml b/desert-trail/trail.toml index 10906c0..c98b5ec 100644 --- a/desert-trail/trail.toml +++ b/desert-trail/trail.toml @@ -3,6 +3,7 @@ id = "desert-trail" name = "Desert Trail" short_name = "DT" +short_name_url = "https://deserttrail.net" country = "US" regions = ["CA", "NV", "OR"] length_km = 2552 diff --git a/desert-winter-thru-hike/trail.toml b/desert-winter-thru-hike/trail.toml index 82d3097..ce23f1f 100644 --- a/desert-winter-thru-hike/trail.toml +++ b/desert-winter-thru-hike/trail.toml @@ -3,6 +3,7 @@ id = "desert-winter-thru-hike" name = "Desert Winter Thru-Hike" short_name = "Desert WTH" +short_name_url = "https://www.simblissity.net/desert-wth-mapset.shtml" country = "US" regions = ["AZ", "CA"] length_km = 1287 diff --git a/docs/schema.md b/docs/schema.md index 7b65a26..b54e51d 100644 --- a/docs/schema.md +++ b/docs/schema.md @@ -8,6 +8,7 @@ Example (shortened): id = "long-trail" name = "Long Trail (Vermont)" short_name = "LT" +short_name_url = "https://www.greenmountainclub.org/" country = "US" regions = ["VT"] length_km = 438 @@ -32,7 +33,8 @@ line_file = "line.geojson" | --- | --- | --- | --- | | `id` | string | Stable identifier. Equals the directory name. Never changes. | `"long-trail"` | | `name` | string | The trail's own name. | `"Long Trail (Vermont)"` | -| `short_name` | string | Abbreviation, as carried on the trail's shield, or the short form of a route's name where it has no shield. | `"LT"` | +| `short_name` | string, where present | Abbreviation the trail's holder or author uses for it, or, failing that, one in established use among hikers. Never made up: a trail nobody abbreviates has none. Written without full stops (`"AT"`, not `"A.T."`); hyphens and digits stay as the holder writes them. Two trails may truthfully share one, and both show it. | `"LT"` | +| `short_name_url` | string, with `short_name` | The page where the abbreviation was seen in use. Required when `short_name` is present; an error without it. An http(s) address. | `"https://www.greenmountainclub.org/"` | | `country` | string | `US` or `CA`. | `"US"` | | `regions` | array of strings | State, province or territory codes crossed. | `["VT"]` | | `length_km` | integer | Published length in kilometres. A check value, not measured from the track. | `438` | diff --git a/donut-hole/trail.toml b/donut-hole/trail.toml index 25fc81d..78b966f 100644 --- a/donut-hole/trail.toml +++ b/donut-hole/trail.toml @@ -3,6 +3,7 @@ id = "donut-hole" name = "Donut Hole Trail" short_name = "DHT" +short_name_url = "https://www.kta-hike.org/donut-hole-trail.html" country = "US" regions = ["PA"] length_km = 152 diff --git a/east-beach-trail/trail.toml b/east-beach-trail/trail.toml index e6edf24..6de4d45 100644 --- a/east-beach-trail/trail.toml +++ b/east-beach-trail/trail.toml @@ -2,7 +2,6 @@ id = "east-beach-trail" name = "East Beach Trail (Naikoon)" -short_name = "EBT" country = "CA" regions = ["BC"] length_km = 90 diff --git a/east-coast-trail/trail.toml b/east-coast-trail/trail.toml index ebb7c53..6a0dfbb 100644 --- a/east-coast-trail/trail.toml +++ b/east-coast-trail/trail.toml @@ -3,6 +3,7 @@ id = "east-coast-trail" name = "East Coast Trail (Newfoundland)" short_name = "ECT" +short_name_url = "https://www.newfoundlandlabrador.com/plan-and-book/attractions/210995" country = "CA" regions = ["NL"] length_km = 336 diff --git a/eastern-continental-trail/trail.toml b/eastern-continental-trail/trail.toml index 75302f1..0524395 100644 --- a/eastern-continental-trail/trail.toml +++ b/eastern-continental-trail/trail.toml @@ -3,6 +3,7 @@ id = "eastern-continental-trail" name = "Eastern Continental Trail" short_name = "ECT" +short_name_url = "https://nimblewillnomad.com/books/" country = "US" regions = ["FL", "AL", "GA", "TN", "NC", "VA", "WV", "MD", "PA", "NJ", "NY", "CT", "MA", "VT", "NH", "ME", "QC", "NB"] length_km = 7081 diff --git a/finger-lakes/trail.toml b/finger-lakes/trail.toml index 25f3e3f..716a0db 100644 --- a/finger-lakes/trail.toml +++ b/finger-lakes/trail.toml @@ -3,6 +3,7 @@ id = "finger-lakes" name = "Finger Lakes Trail" short_name = "FLT" +short_name_url = "https://fingerlakestrail.org/" country = "US" regions = ["NY"] length_km = 950 diff --git a/florida/trail.toml b/florida/trail.toml index 4c73152..8be5d81 100644 --- a/florida/trail.toml +++ b/florida/trail.toml @@ -2,7 +2,8 @@ id = "florida" name = "Florida National Scenic Trail" -short_name = "FNST" +short_name = "FT" +short_name_url = "https://floridatrail.org/explore-the-florida-trail/" country = "US" regions = ["FL"] length_km = 2414 diff --git a/foothills/trail.toml b/foothills/trail.toml index 79a9537..d0700b7 100644 --- a/foothills/trail.toml +++ b/foothills/trail.toml @@ -2,7 +2,6 @@ id = "foothills" name = "Foothills Trail" -short_name = "FHT" country = "US" regions = ["SC", "NC"] length_km = 122 diff --git a/fremont/trail.toml b/fremont/trail.toml index d4fc02f..5c83482 100644 --- a/fremont/trail.toml +++ b/fremont/trail.toml @@ -2,7 +2,6 @@ id = "fremont" name = "Fremont National Recreation Trail" -short_name = "FNRT" country = "US" regions = ["OR"] length_km = 216 diff --git a/ganaraska/trail.toml b/ganaraska/trail.toml index bfbdeea..40705e0 100644 --- a/ganaraska/trail.toml +++ b/ganaraska/trail.toml @@ -2,7 +2,6 @@ id = "ganaraska" name = "Ganaraska Hiking Trail" -short_name = "GHT" country = "CA" regions = ["ON"] length_km = 500 diff --git a/general-george-crook/trail.toml b/general-george-crook/trail.toml index 858f0ff..3f11f65 100644 --- a/general-george-crook/trail.toml +++ b/general-george-crook/trail.toml @@ -2,7 +2,6 @@ id = "general-george-crook" name = "General George Crook National Recreation Trail" -short_name = "GGC" country = "US" regions = ["AZ"] length_km = 95 diff --git a/grand-enchantment/trail.toml b/grand-enchantment/trail.toml index c3df281..b769b9e 100644 --- a/grand-enchantment/trail.toml +++ b/grand-enchantment/trail.toml @@ -3,6 +3,7 @@ id = "grand-enchantment" name = "Grand Enchantment Trail" short_name = "GET" +short_name_url = "http://www.simblissity.net/get-about.shtml" country = "US" regions = ["AZ", "NM"] length_km = 1239 diff --git a/grand-moab-route/trail.toml b/grand-moab-route/trail.toml index cbb10ab..1c9b130 100644 --- a/grand-moab-route/trail.toml +++ b/grand-moab-route/trail.toml @@ -2,7 +2,6 @@ id = "grand-moab-route" name = "Grand-Moab Route" -short_name = "GMR" country = "US" regions = ["CO", "UT"] length_km = 225 diff --git a/grand-valley-trail/trail.toml b/grand-valley-trail/trail.toml index 4865082..13381b6 100644 --- a/grand-valley-trail/trail.toml +++ b/grand-valley-trail/trail.toml @@ -2,7 +2,6 @@ id = "grand-valley-trail" name = "Grand Valley Trail" -short_name = "GVT" country = "CA" regions = ["ON"] length_km = 240 diff --git a/great-basin-trail/trail.toml b/great-basin-trail/trail.toml index 4e71651..a7d5d8f 100644 --- a/great-basin-trail/trail.toml +++ b/great-basin-trail/trail.toml @@ -3,6 +3,7 @@ id = "great-basin-trail" name = "Great Basin Trail" short_name = "GBT" +short_name_url = "https://www.gossamergear.com/blogs/our-blog/great-basin-trail" country = "US" regions = ["NV"] length_km = 1931 diff --git a/great-colorado-route/trail.toml b/great-colorado-route/trail.toml index 1a46c29..144b8aa 100644 --- a/great-colorado-route/trail.toml +++ b/great-colorado-route/trail.toml @@ -3,6 +3,7 @@ id = "great-colorado-route" name = "Great Colorado Route" short_name = "GCR" +short_name_url = "https://www.greatcoloradoroute.com" country = "US" regions = ["CO"] length_km = 3219 diff --git a/great-divide-trail/trail.toml b/great-divide-trail/trail.toml index 05536c5..2a16116 100644 --- a/great-divide-trail/trail.toml +++ b/great-divide-trail/trail.toml @@ -3,6 +3,7 @@ id = "great-divide-trail" name = "Great Divide Trail" short_name = "GDT" +short_name_url = "https://greatdividetrail.com/" country = "CA" regions = ["AB", "BC"] length_km = 1130 diff --git a/great-eastern/trail.toml b/great-eastern/trail.toml index bc8b615..ad60c22 100644 --- a/great-eastern/trail.toml +++ b/great-eastern/trail.toml @@ -3,6 +3,7 @@ id = "great-eastern" name = "Great Eastern Trail" short_name = "GET" +short_name_url = "https://www.greateasterntrail.net/about-us/" country = "US" regions = ["AL", "GA", "TN", "KY", "VA", "WV", "MD", "PA", "NY"] length_km = 3200 diff --git a/great-plains-trail/trail.toml b/great-plains-trail/trail.toml index ec47082..b2dab2b 100644 --- a/great-plains-trail/trail.toml +++ b/great-plains-trail/trail.toml @@ -3,6 +3,7 @@ id = "great-plains-trail" name = "Great Plains Trail" short_name = "GPT" +short_name_url = "https://www.greatplainstrail.org/about-the-trail/" country = "US" regions = ["SK", "ND", "SD", "NE", "TX"] length_km = 3540 diff --git a/great-western-divide-loop/trail.toml b/great-western-divide-loop/trail.toml index 581de6c..b5ee034 100644 --- a/great-western-divide-loop/trail.toml +++ b/great-western-divide-loop/trail.toml @@ -2,7 +2,6 @@ id = "great-western-divide-loop" name = "Sequoia Great Western Divide Loop" -short_name = "GWDL" country = "US" regions = ["CA"] length_km = 93 diff --git a/great-western-loop/trail.toml b/great-western-loop/trail.toml index 8010e2b..7f0d870 100644 --- a/great-western-loop/trail.toml +++ b/great-western-loop/trail.toml @@ -3,6 +3,7 @@ id = "great-western-loop" name = "Great Western Loop" short_name = "GWL" +short_name_url = "https://andrewskurka.com/adventures/great-western-loop/route-description/" country = "US" regions = ["AZ", "NM", "CO", "WY", "ID", "MT", "CA", "OR", "WA"] length_km = 11064 diff --git a/guadalupe-ridge-trail/trail.toml b/guadalupe-ridge-trail/trail.toml index 2e33278..5c7ac0e 100644 --- a/guadalupe-ridge-trail/trail.toml +++ b/guadalupe-ridge-trail/trail.toml @@ -3,6 +3,7 @@ id = "guadalupe-ridge-trail" name = "Guadalupe Ridge Trail" short_name = "GRT" +short_name_url = "https://www.nps.gov/thingstodo/grt.htm" country = "US" regions = ["TX", "NM"] length_km = 161 diff --git a/hayduke-trail/trail.toml b/hayduke-trail/trail.toml index 1808fa4..9220b0c 100644 --- a/hayduke-trail/trail.toml +++ b/hayduke-trail/trail.toml @@ -2,7 +2,6 @@ id = "hayduke-trail" name = "Hayduke Trail" -short_name = "HT" country = "US" regions = ["UT", "AZ"] length_km = 1287 diff --git a/high-country-pathway/trail.toml b/high-country-pathway/trail.toml index 77982b9..852e6eb 100644 --- a/high-country-pathway/trail.toml +++ b/high-country-pathway/trail.toml @@ -2,7 +2,6 @@ id = "high-country-pathway" name = "High Country Pathway" -short_name = "HCP" country = "US" regions = ["MI"] length_km = 132 diff --git a/high-sierra/trail.toml b/high-sierra/trail.toml index c904ff8..7daba78 100644 --- a/high-sierra/trail.toml +++ b/high-sierra/trail.toml @@ -2,7 +2,6 @@ id = "high-sierra" name = "High Sierra Trail" -short_name = "HST" country = "US" regions = ["CA"] length_km = 116 diff --git a/highlands/trail.toml b/highlands/trail.toml index 784dcff..8314e29 100644 --- a/highlands/trail.toml +++ b/highlands/trail.toml @@ -2,7 +2,6 @@ id = "highlands" name = "Highlands Trail" -short_name = "HT" country = "US" regions = ["NJ", "NY", "PA", "CT"] length_km = 290 diff --git a/highline/trail.toml b/highline/trail.toml index a9835b1..7d64aff 100644 --- a/highline/trail.toml +++ b/highline/trail.toml @@ -2,7 +2,6 @@ id = "highline" name = "Highline National Recreation Trail" -short_name = "Highline" country = "US" regions = ["AZ"] length_km = 89 diff --git a/horse-shoe/trail.toml b/horse-shoe/trail.toml index 77f81a8..6a9bce7 100644 --- a/horse-shoe/trail.toml +++ b/horse-shoe/trail.toml @@ -3,6 +3,7 @@ id = "horse-shoe" name = "Horse-Shoe Trail" short_name = "HST" +short_name_url = "https://cart.hstrail.org/" country = "US" regions = ["PA"] length_km = 225 diff --git a/hot-springs-trail/trail.toml b/hot-springs-trail/trail.toml index 65bc110..7de30e4 100644 --- a/hot-springs-trail/trail.toml +++ b/hot-springs-trail/trail.toml @@ -3,6 +3,7 @@ id = "hot-springs-trail" name = "Hot Springs Trail" short_name = "HST" +short_name_url = "https://outsideways.com/routes/us/hot-springs-trail/" country = "US" regions = ["CA", "OR", "ID"] length_km = 3896 diff --git a/iat-newfoundland-labrador/trail.toml b/iat-newfoundland-labrador/trail.toml index 30390f2..5111ec0 100644 --- a/iat-newfoundland-labrador/trail.toml +++ b/iat-newfoundland-labrador/trail.toml @@ -2,7 +2,8 @@ id = "iat-newfoundland-labrador" name = "International Appalachian Trail, Newfoundland and Labrador" -short_name = "IAT NL" +short_name = "IATNL" +short_name_url = "https://iatnl.org/thru-hikers/" country = "CA" regions = ["NL"] length_km = 750 diff --git a/ice-age/trail.toml b/ice-age/trail.toml index 4657680..8a5acbb 100644 --- a/ice-age/trail.toml +++ b/ice-age/trail.toml @@ -3,6 +3,7 @@ id = "ice-age" name = "Ice Age National Scenic Trail" short_name = "IAT" +short_name_url = "https://www.iceagetrail.org/" country = "US" regions = ["WI"] length_km = 1931 diff --git a/idaho-centennial/trail.toml b/idaho-centennial/trail.toml index 986cd6b..de48391 100644 --- a/idaho-centennial/trail.toml +++ b/idaho-centennial/trail.toml @@ -3,6 +3,7 @@ id = "idaho-centennial" name = "Idaho Centennial Trail" short_name = "ICT" +short_name_url = "https://idahotrailsassociation.org/ict-resources/" country = "US" regions = ["ID"] length_km = 1448 diff --git a/international-appalachian-trail-maine/trail.toml b/international-appalachian-trail-maine/trail.toml index 88a3743..7468962 100644 --- a/international-appalachian-trail-maine/trail.toml +++ b/international-appalachian-trail-maine/trail.toml @@ -2,7 +2,8 @@ id = "international-appalachian-trail-maine" name = "International Appalachian Trail, Maine section" -short_name = "IAT-ME" +short_name = "IAT" +short_name_url = "https://maineiat.org/?p=412" country = "US" regions = ["ME"] length_km = 222 diff --git a/iron-belle-trail/trail.toml b/iron-belle-trail/trail.toml index 8ffd65e..3972157 100644 --- a/iron-belle-trail/trail.toml +++ b/iron-belle-trail/trail.toml @@ -3,6 +3,7 @@ id = "iron-belle-trail" name = "Iron Belle Trail (hiking route)" short_name = "IBT" +short_name_url = "https://content.govdelivery.com/accounts/MIDNR/bulletins/2929548" country = "US" regions = ["MI"] length_km = 2049 diff --git a/island-walk/trail.toml b/island-walk/trail.toml index 5f9b678..93fc4b0 100644 --- a/island-walk/trail.toml +++ b/island-walk/trail.toml @@ -3,6 +3,7 @@ id = "island-walk" name = "The Island Walk" short_name = "IW" +short_name_url = "https://theislandwalk.ca/" country = "CA" regions = ["PE"] length_km = 700 diff --git a/itijjagiaq-trail/trail.toml b/itijjagiaq-trail/trail.toml index fa63523..b1263f6 100644 --- a/itijjagiaq-trail/trail.toml +++ b/itijjagiaq-trail/trail.toml @@ -2,7 +2,6 @@ id = "itijjagiaq-trail" name = "Itijjagiaq Trail" -short_name = "IT" country = "CA" regions = ["NU"] length_km = 120 diff --git a/john-muir/trail.toml b/john-muir/trail.toml index 07f1dee..34dfe74 100644 --- a/john-muir/trail.toml +++ b/john-muir/trail.toml @@ -3,6 +3,7 @@ id = "john-muir" name = "John Muir Trail" short_name = "JMT" +short_name_url = "https://www.nps.gov/yose/planyourvisit/jmt.htm" country = "US" regions = ["CA"] length_km = 340 diff --git a/kekekabic/trail.toml b/kekekabic/trail.toml index 463985c..66e9f0f 100644 --- a/kekekabic/trail.toml +++ b/kekekabic/trail.toml @@ -3,6 +3,7 @@ id = "kekekabic" name = "Kekekabic Trail" short_name = "KEK" +short_name_url = "https://northcountrytrail.org/trail/minnesota/kek/" country = "US" regions = ["MN"] length_km = 66 diff --git a/kings-canyon-high-basin-route/trail.toml b/kings-canyon-high-basin-route/trail.toml index 95971b6..e3b00f7 100644 --- a/kings-canyon-high-basin-route/trail.toml +++ b/kings-canyon-high-basin-route/trail.toml @@ -3,6 +3,7 @@ id = "kings-canyon-high-basin-route" name = "Kings Canyon High Basin Route" short_name = "KCHBR" +short_name_url = "https://andrewskurka.com/adventures/kings-canyon-high-basin-route/" country = "US" regions = ["CA"] length_km = 200 diff --git a/knobstone/trail.toml b/knobstone/trail.toml index d214df5..24c760e 100644 --- a/knobstone/trail.toml +++ b/knobstone/trail.toml @@ -3,6 +3,7 @@ id = "knobstone" name = "Knobstone Trail" short_name = "KT" +short_name_url = "https://www.in.gov/dnr/forestry/properties/knobstone-trail-conditions-reroutes-maps/" country = "US" regions = ["IN"] length_km = 97 diff --git a/la-cloche/trail.toml b/la-cloche/trail.toml index 22e8407..fd9c958 100644 --- a/la-cloche/trail.toml +++ b/la-cloche/trail.toml @@ -2,7 +2,6 @@ id = "la-cloche" name = "La Cloche Silhouette Trail" -short_name = "LCS" country = "CA" regions = ["ON"] length_km = 80 diff --git a/laurel-highlands/trail.toml b/laurel-highlands/trail.toml index 46d8347..c0c6a92 100644 --- a/laurel-highlands/trail.toml +++ b/laurel-highlands/trail.toml @@ -3,6 +3,7 @@ id = "laurel-highlands" name = "Laurel Highlands Hiking Trail" short_name = "LHHT" +short_name_url = "https://www.pa.gov/agencies/dcnr/recreation/what-to-do/hiking/laurel-highlands-hiking-trail" country = "US" regions = ["PA"] length_km = 113 diff --git a/lone-star/trail.toml b/lone-star/trail.toml index 1cc1ba4..4ada119 100644 --- a/lone-star/trail.toml +++ b/lone-star/trail.toml @@ -3,6 +3,7 @@ id = "lone-star" name = "Lone Star Hiking Trail" short_name = "LSHT" +short_name_url = "https://en.wikipedia.org/wiki/Lone_Star_Hiking_Trail" country = "US" regions = ["TX"] length_km = 155 diff --git a/long-path/trail.toml b/long-path/trail.toml index 1540f63..4242bc7 100644 --- a/long-path/trail.toml +++ b/long-path/trail.toml @@ -3,6 +3,7 @@ id = "long-path" name = "Long Path" short_name = "LP" +short_name_url = "https://nynjtc.org/long-path" country = "US" regions = ["NJ", "NY"] length_km = 576 diff --git a/long-trail/trail.toml b/long-trail/trail.toml index 2eda7f0..a52207e 100644 --- a/long-trail/trail.toml +++ b/long-trail/trail.toml @@ -2,7 +2,6 @@ id = "long-trail" name = "Long Trail (Vermont)" -short_name = "LT" country = "US" regions = ["VT"] length_km = 438 diff --git a/lost-coast/trail.toml b/lost-coast/trail.toml index 75228a2..534de04 100644 --- a/lost-coast/trail.toml +++ b/lost-coast/trail.toml @@ -2,7 +2,6 @@ id = "lost-coast" name = "Lost Coast Trail" -short_name = "LCT" country = "US" regions = ["CA"] length_km = 80 diff --git a/lowest-to-highest-route/trail.toml b/lowest-to-highest-route/trail.toml index 158060b..99ff3b1 100644 --- a/lowest-to-highest-route/trail.toml +++ b/lowest-to-highest-route/trail.toml @@ -3,6 +3,7 @@ id = "lowest-to-highest-route" name = "Lowest to Highest Route" short_name = "L2H" +short_name_url = "http://simblissity.net/L2H.shtml" country = "US" regions = ["CA"] length_km = 209 diff --git a/loyalsock/trail.toml b/loyalsock/trail.toml index ce57aaf..a503a01 100644 --- a/loyalsock/trail.toml +++ b/loyalsock/trail.toml @@ -3,6 +3,7 @@ id = "loyalsock" name = "Loyalsock Trail" short_name = "LT" +short_name_url = "https://alpineclubofwilliamsport.com/loyalsock-trail-information/" country = "US" regions = ["PA"] length_km = 95 diff --git a/maah-daah-hey/trail.toml b/maah-daah-hey/trail.toml index 16c50b6..9aba7a9 100644 --- a/maah-daah-hey/trail.toml +++ b/maah-daah-hey/trail.toml @@ -2,7 +2,6 @@ id = "maah-daah-hey" name = "Maah Daah Hey Trail" -short_name = "MDHT" country = "US" regions = ["ND"] length_km = 232 diff --git a/mason-dixon/trail.toml b/mason-dixon/trail.toml index 91d6b24..57aea07 100644 --- a/mason-dixon/trail.toml +++ b/mason-dixon/trail.toml @@ -2,7 +2,8 @@ id = "mason-dixon" name = "Mason-Dixon Trail" -short_name = "MDT" +short_name = "M-DT" +short_name_url = "https://masondixontrail.wixsite.com/mdts" country = "US" regions = ["PA", "MD", "DE"] length_km = 311 diff --git a/massanutten/trail.toml b/massanutten/trail.toml index 378c55e..5bd5e16 100644 --- a/massanutten/trail.toml +++ b/massanutten/trail.toml @@ -2,7 +2,6 @@ id = "massanutten" name = "Massanutten Trail" -short_name = "MT" country = "US" regions = ["VA"] length_km = 114 diff --git a/mattabesett/trail.toml b/mattabesett/trail.toml index 5e61fe3..e1b7df7 100644 --- a/mattabesett/trail.toml +++ b/mattabesett/trail.toml @@ -2,7 +2,6 @@ id = "mattabesett" name = "Mattabesett Trail" -short_name = "MTB" country = "US" regions = ["CT"] length_km = 105 diff --git a/metacomet-monadnock/trail.toml b/metacomet-monadnock/trail.toml index a68ddba..0223d29 100644 --- a/metacomet-monadnock/trail.toml +++ b/metacomet-monadnock/trail.toml @@ -2,7 +2,8 @@ id = "metacomet-monadnock" name = "Metacomet-Monadnock Trail" -short_name = "MM" +short_name = "M-M" +short_name_url = "https://mmtrailnh.org/" country = "US" regions = ["CT", "MA", "NH"] length_km = 185 diff --git a/mid-state/trail.toml b/mid-state/trail.toml index 514c142..d13516c 100644 --- a/mid-state/trail.toml +++ b/mid-state/trail.toml @@ -2,7 +2,8 @@ id = "mid-state" name = "Mid State Trail" -short_name = "MST-PA" +short_name = "MST" +short_name_url = "https://hike-mst.org/" country = "US" regions = ["PA"] length_km = 515 diff --git a/midstate-ma/trail.toml b/midstate-ma/trail.toml index e3d2313..ea934ab 100644 --- a/midstate-ma/trail.toml +++ b/midstate-ma/trail.toml @@ -3,6 +3,7 @@ id = "midstate-ma" name = "Midstate Trail (Massachusetts)" short_name = "MST" +short_name_url = "https://www.midstatetrail.org/" country = "US" regions = ["MA"] length_km = 148 diff --git a/mogollon-rim-trail/trail.toml b/mogollon-rim-trail/trail.toml index 54fd0c6..1e939ab 100644 --- a/mogollon-rim-trail/trail.toml +++ b/mogollon-rim-trail/trail.toml @@ -3,6 +3,7 @@ id = "mogollon-rim-trail" name = "Mogollon Rim Trail" short_name = "MRT" +short_name_url = "https://blisterfree.wordpress.com/2019/02/24/introducing-the-mogollon-rim-trail/" country = "US" regions = ["AZ", "NM"] length_km = 805 diff --git a/mojave-sonoran-trail/trail.toml b/mojave-sonoran-trail/trail.toml index fe8602a..7a7c8a5 100644 --- a/mojave-sonoran-trail/trail.toml +++ b/mojave-sonoran-trail/trail.toml @@ -3,6 +3,7 @@ id = "mojave-sonoran-trail" name = "Mojave-Sonoran Trail" short_name = "MST" +short_name_url = "https://seekinglost.com/thru-hikes/mojave-sonoran-trail-thru-hiking-route/" country = "US" regions = ["NV", "CA", "AZ"] length_km = 1006 diff --git a/monadnock-sunapee/trail.toml b/monadnock-sunapee/trail.toml index 0f29d1a..e882497 100644 --- a/monadnock-sunapee/trail.toml +++ b/monadnock-sunapee/trail.toml @@ -3,6 +3,7 @@ id = "monadnock-sunapee" name = "Monadnock-Sunapee Greenway" short_name = "MSG" +short_name_url = "https://www.msgtc.org/" country = "US" regions = ["NH"] length_km = 80 diff --git a/montana-trail/trail.toml b/montana-trail/trail.toml index 13f5808..b53c02d 100644 --- a/montana-trail/trail.toml +++ b/montana-trail/trail.toml @@ -2,7 +2,6 @@ id = "montana-trail" name = "Montana Trail 406" -short_name = "MT406" country = "US" regions = ["MT"] length_km = 2934 diff --git a/mountains-to-sea/trail.toml b/mountains-to-sea/trail.toml index 409b5e1..6536289 100644 --- a/mountains-to-sea/trail.toml +++ b/mountains-to-sea/trail.toml @@ -2,7 +2,8 @@ id = "mountains-to-sea" name = "Mountains-to-Sea Trail" -short_name = "MST-NC" +short_name = "MST" +short_name_url = "https://mountainstoseatrail.org/" country = "US" regions = ["NC"] length_km = 1890 diff --git a/natchez-trace/trail.toml b/natchez-trace/trail.toml index a6bb80c..4ea920b 100644 --- a/natchez-trace/trail.toml +++ b/natchez-trace/trail.toml @@ -2,7 +2,6 @@ id = "natchez-trace" name = "Natchez Trace National Scenic Trail" -short_name = "NATT" country = "US" regions = ["MS", "AL", "TN"] length_km = 105 diff --git a/nepisiguit-migmaq-trail/trail.toml b/nepisiguit-migmaq-trail/trail.toml index 4c24560..a0efa13 100644 --- a/nepisiguit-migmaq-trail/trail.toml +++ b/nepisiguit-migmaq-trail/trail.toml @@ -3,6 +3,7 @@ id = "nepisiguit-migmaq-trail" name = "Sentier Nepisiguit Mi'gmaq Trail" short_name = "SNMT" +short_name_url = "https://migmaqtrail.ca/discover.php" country = "CA" regions = ["NB"] length_km = 150 diff --git a/new-england/trail.toml b/new-england/trail.toml index 64794e8..a6a3eb3 100644 --- a/new-england/trail.toml +++ b/new-england/trail.toml @@ -3,6 +3,7 @@ id = "new-england" name = "New England National Scenic Trail" short_name = "NET" +short_name_url = "https://www.nps.gov/neen/index.htm" country = "US" regions = ["CT", "MA"] length_km = 378 diff --git a/north-boundary/trail.toml b/north-boundary/trail.toml index 4cb5752..18301a4 100644 --- a/north-boundary/trail.toml +++ b/north-boundary/trail.toml @@ -2,7 +2,6 @@ id = "north-boundary" name = "North Boundary Trail" -short_name = "NBT" country = "CA" regions = ["AB"] length_km = 159 diff --git a/north-country/trail.toml b/north-country/trail.toml index 0c17419..5b21bde 100644 --- a/north-country/trail.toml +++ b/north-country/trail.toml @@ -2,7 +2,6 @@ id = "north-country" name = "North Country National Scenic Trail" -short_name = "NCT" country = "US" regions = ["ND", "MN", "WI", "MI", "OH", "PA", "NY", "VT"] length_km = 7403 diff --git a/north-south/trail.toml b/north-south/trail.toml index 6b87d26..c096e61 100644 --- a/north-south/trail.toml +++ b/north-south/trail.toml @@ -2,7 +2,6 @@ id = "north-south" name = "North-South Trail" -short_name = "NST" country = "US" regions = ["RI"] length_km = 125 diff --git a/north-umpqua/trail.toml b/north-umpqua/trail.toml index 1280705..f9df819 100644 --- a/north-umpqua/trail.toml +++ b/north-umpqua/trail.toml @@ -3,6 +3,7 @@ id = "north-umpqua" name = "North Umpqua Trail" short_name = "NUT" +short_name_url = "https://www.fs.usda.gov/r06/umpqua/recreation/groups/north-umpqua-trail-1414" country = "US" regions = ["OR"] length_km = 127 diff --git a/northern-new-mexico-loop/trail.toml b/northern-new-mexico-loop/trail.toml index cfd08a0..4653afc 100644 --- a/northern-new-mexico-loop/trail.toml +++ b/northern-new-mexico-loop/trail.toml @@ -2,7 +2,6 @@ id = "northern-new-mexico-loop" name = "Northern New Mexico Loop" -short_name = "NNML" country = "US" regions = ["NM"] length_km = 805 diff --git a/northville-placid/trail.toml b/northville-placid/trail.toml index c3d6071..f35515c 100644 --- a/northville-placid/trail.toml +++ b/northville-placid/trail.toml @@ -3,6 +3,7 @@ id = "northville-placid" name = "Northville-Placid Trail" short_name = "NPT" +short_name_url = "https://albany.adk.org/about-our-chapter/northville-placid-trail/" country = "US" regions = ["NY"] length_km = 220 diff --git a/oak-ridges/trail.toml b/oak-ridges/trail.toml index c6b6b64..8d9ac2b 100644 --- a/oak-ridges/trail.toml +++ b/oak-ridges/trail.toml @@ -2,7 +2,6 @@ id = "oak-ridges" name = "Oak Ridges Trail" -short_name = "ORT" country = "CA" regions = ["ON"] length_km = 270 diff --git a/ocean-to-lake/trail.toml b/ocean-to-lake/trail.toml index 1d93ac1..36303ee 100644 --- a/ocean-to-lake/trail.toml +++ b/ocean-to-lake/trail.toml @@ -3,6 +3,7 @@ id = "ocean-to-lake" name = "Ocean to Lake Hiking Trail" short_name = "OTLHT" +short_name_url = "https://www.loxfltrail.org/Ocean2LakeHikingTrail.html" country = "US" regions = ["FL"] length_km = 99 diff --git a/oregon-coast/trail.toml b/oregon-coast/trail.toml index cd20aa7..90ca557 100644 --- a/oregon-coast/trail.toml +++ b/oregon-coast/trail.toml @@ -3,6 +3,7 @@ id = "oregon-coast" name = "Oregon Coast Trail" short_name = "OCT" +short_name_url = "https://stateparks.oregon.gov/index.cfm?do=v.page&id=95" country = "US" regions = ["OR"] length_km = 650 diff --git a/oregon-desert/trail.toml b/oregon-desert/trail.toml index 352ef70..2e65e93 100644 --- a/oregon-desert/trail.toml +++ b/oregon-desert/trail.toml @@ -3,6 +3,7 @@ id = "oregon-desert" name = "Oregon Desert Trail" short_name = "ODT" +short_name_url = "https://onda.org/regions/oregon-desert-trail/" country = "US" regions = ["OR"] length_km = 1200 diff --git a/ottawa-temiskaming-highland-trail/trail.toml b/ottawa-temiskaming-highland-trail/trail.toml index ebbf4ba..1618a51 100644 --- a/ottawa-temiskaming-highland-trail/trail.toml +++ b/ottawa-temiskaming-highland-trail/trail.toml @@ -3,6 +3,7 @@ id = "ottawa-temiskaming-highland-trail" name = "Ottawa-Temiskaming Highland Trail" short_name = "OTHT" +short_name_url = "https://nastawgantrails.org/our-trails" country = "CA" regions = ["ON"] length_km = 142 diff --git a/ouachita/trail.toml b/ouachita/trail.toml index 0952ec0..3a92a25 100644 --- a/ouachita/trail.toml +++ b/ouachita/trail.toml @@ -3,6 +3,7 @@ id = "ouachita" name = "Ouachita National Recreation Trail" short_name = "OT" +short_name_url = "https://www.friendsoftheouachita.org/about-the-ot" country = "US" regions = ["AR", "OK"] length_km = 359 diff --git a/ozark-highlands/trail.toml b/ozark-highlands/trail.toml index c862327..0331701 100644 --- a/ozark-highlands/trail.toml +++ b/ozark-highlands/trail.toml @@ -3,6 +3,7 @@ id = "ozark-highlands" name = "Ozark Highlands Trail" short_name = "OHT" +short_name_url = "https://ozarkhighlandstrail.com/trail/" country = "US" regions = ["AR"] length_km = 435 diff --git a/ozark-trail/trail.toml b/ozark-trail/trail.toml index e363372..218144e 100644 --- a/ozark-trail/trail.toml +++ b/ozark-trail/trail.toml @@ -3,6 +3,7 @@ id = "ozark-trail" name = "Ozark Trail (Missouri)" short_name = "OT" +short_name_url = "https://ozarktrail.com/thru-hiking/" country = "US" regions = ["MO"] length_km = 630 diff --git a/pacific-crest/trail.toml b/pacific-crest/trail.toml index 5d3f64b..c7238af 100644 --- a/pacific-crest/trail.toml +++ b/pacific-crest/trail.toml @@ -3,6 +3,7 @@ id = "pacific-crest" name = "Pacific Crest National Scenic Trail" short_name = "PCT" +short_name_url = "https://www.pcta.org/" country = "US" regions = ["CA", "OR", "WA"] length_km = 4265 diff --git a/pacific-northwest/trail.toml b/pacific-northwest/trail.toml index 7057187..a5c2887 100644 --- a/pacific-northwest/trail.toml +++ b/pacific-northwest/trail.toml @@ -3,6 +3,7 @@ id = "pacific-northwest" name = "Pacific Northwest National Scenic Trail" short_name = "PNT" +short_name_url = "https://www.pnt.org/pnta/know-before-you-go/plan-your-trip/" country = "US" regions = ["MT", "ID", "WA"] length_km = 1931 diff --git a/palmetto/trail.toml b/palmetto/trail.toml index eb54fa7..8fa632a 100644 --- a/palmetto/trail.toml +++ b/palmetto/trail.toml @@ -2,7 +2,6 @@ id = "palmetto" name = "Palmetto Trail" -short_name = "PT" country = "US" regions = ["SC"] length_km = 800 diff --git a/paumanok-path/trail.toml b/paumanok-path/trail.toml index ff6a142..c67817b 100644 --- a/paumanok-path/trail.toml +++ b/paumanok-path/trail.toml @@ -2,7 +2,6 @@ id = "paumanok-path" name = "Paumanok Path" -short_name = "PP" country = "US" regions = ["NY"] length_km = 201 diff --git a/pfiffner-traverse/trail.toml b/pfiffner-traverse/trail.toml index 1c54346..84d3e42 100644 --- a/pfiffner-traverse/trail.toml +++ b/pfiffner-traverse/trail.toml @@ -2,7 +2,6 @@ id = "pfiffner-traverse" name = "Pfiffner Traverse" -short_name = "PT" country = "US" regions = ["CO"] length_km = 124 diff --git a/pinhoti/trail.toml b/pinhoti/trail.toml index 6672baf..f67ee00 100644 --- a/pinhoti/trail.toml +++ b/pinhoti/trail.toml @@ -2,7 +2,6 @@ id = "pinhoti" name = "Pinhoti Trail" -short_name = "PIN" country = "US" regions = ["AL", "GA"] length_km = 540 diff --git a/potomac-heritage/trail.toml b/potomac-heritage/trail.toml index 827340d..92816b6 100644 --- a/potomac-heritage/trail.toml +++ b/potomac-heritage/trail.toml @@ -2,7 +2,8 @@ id = "potomac-heritage" name = "Potomac Heritage National Scenic Trail" -short_name = "POHE" +short_name = "PHT" +short_name_url = "https://www.nps.gov/pohe/index.htm" country = "US" regions = ["DC", "MD", "VA", "PA"] length_km = 1448 diff --git a/prescott-circle/trail.toml b/prescott-circle/trail.toml index f8c57c6..fc035ee 100644 --- a/prescott-circle/trail.toml +++ b/prescott-circle/trail.toml @@ -3,6 +3,7 @@ id = "prescott-circle" name = "Prescott Circle Trail" short_name = "PCT" +short_name_url = "https://prescott-az.gov/?p=25791" country = "US" regions = ["AZ"] length_km = 90 diff --git a/pukaskwa-coastal/trail.toml b/pukaskwa-coastal/trail.toml index fc68b6e..cf566ed 100644 --- a/pukaskwa-coastal/trail.toml +++ b/pukaskwa-coastal/trail.toml @@ -2,7 +2,6 @@ id = "pukaskwa-coastal" name = "Pukaskwa Coastal Hiking Trail" -short_name = "PCHT" country = "CA" regions = ["ON"] length_km = 60 diff --git a/quehanna/trail.toml b/quehanna/trail.toml index a5d7fe0..d73b065 100644 --- a/quehanna/trail.toml +++ b/quehanna/trail.toml @@ -3,6 +3,7 @@ id = "quehanna" name = "Quehanna Trail" short_name = "QT" +short_name_url = "https://www.kta-hike.org/quehanna-trail.html" country = "US" regions = ["PA"] length_km = 119 diff --git a/rideau-trail/trail.toml b/rideau-trail/trail.toml index 28e641a..655913c 100644 --- a/rideau-trail/trail.toml +++ b/rideau-trail/trail.toml @@ -2,7 +2,6 @@ id = "rideau-trail" name = "Rideau Trail" -short_name = "RT" country = "CA" regions = ["ON"] length_km = 387 diff --git a/ring-the-peak/trail.toml b/ring-the-peak/trail.toml index ec52040..3c2b9f4 100644 --- a/ring-the-peak/trail.toml +++ b/ring-the-peak/trail.toml @@ -2,7 +2,6 @@ id = "ring-the-peak" name = "Ring the Peak Trail" -short_name = "RTP" country = "US" regions = ["CO"] length_km = 101 diff --git a/river-to-river/trail.toml b/river-to-river/trail.toml index 25e48b0..6de5ff8 100644 --- a/river-to-river/trail.toml +++ b/river-to-river/trail.toml @@ -3,6 +3,7 @@ id = "river-to-river" name = "River to River Trail" short_name = "R2R" +short_name_url = "https://rivertorivertrail.net/" country = "US" regions = ["IL"] length_km = 257 diff --git a/route-in-between/trail.toml b/route-in-between/trail.toml index ba830a2..85457e9 100644 --- a/route-in-between/trail.toml +++ b/route-in-between/trail.toml @@ -3,6 +3,7 @@ id = "route-in-between" name = "Route In Between" short_name = "RIB" +short_name_url = "http://www.lbhikes.com/2019/12/dhr.html" country = "US" regions = ["AZ", "UT", "ID"] length_km = 4344 diff --git a/san-diego-trans-county-trail/trail.toml b/san-diego-trans-county-trail/trail.toml index 45d1e79..4f00e4c 100644 --- a/san-diego-trans-county-trail/trail.toml +++ b/san-diego-trans-county-trail/trail.toml @@ -3,6 +3,7 @@ id = "san-diego-trans-county-trail" name = "San Diego Trans County Trail" short_name = "SDTCT" +short_name_url = "https://www.treelinereview.com/where-to-go/san-diego-trans-county-trail" country = "US" regions = ["CA"] length_km = 249 diff --git a/santa-fe-to-taos/trail.toml b/santa-fe-to-taos/trail.toml index 0997955..c41a61a 100644 --- a/santa-fe-to-taos/trail.toml +++ b/santa-fe-to-taos/trail.toml @@ -3,6 +3,7 @@ id = "santa-fe-to-taos" name = "Santa Fe to Taos Thru-Hike" short_name = "SF2T" +short_name_url = "https://santafetotaos.org" country = "US" regions = ["NM"] length_km = 212 diff --git a/sawtooth-wilderness-high-route/trail.toml b/sawtooth-wilderness-high-route/trail.toml index 442e789..137d9e5 100644 --- a/sawtooth-wilderness-high-route/trail.toml +++ b/sawtooth-wilderness-high-route/trail.toml @@ -2,7 +2,6 @@ id = "sawtooth-wilderness-high-route" name = "Sawtooth Wilderness High Route" -short_name = "SWHR" country = "US" regions = ["ID"] length_km = 143 diff --git a/sea-to-sea-route/trail.toml b/sea-to-sea-route/trail.toml index 70f1768..c4aa98b 100644 --- a/sea-to-sea-route/trail.toml +++ b/sea-to-sea-route/trail.toml @@ -3,6 +3,7 @@ id = "sea-to-sea-route" name = "Sea-to-Sea Route" short_name = "C2C" +short_name_url = "https://andrewskurka.com/adventures/sea-to-sea-route/overview/" country = "US" regions = ["ND", "MN", "WI", "MI", "OH", "PA", "NY", "VT", "MT", "ID", "WA"] length_km = 12513 diff --git a/sentier-international-appalaches/trail.toml b/sentier-international-appalaches/trail.toml index c8fb0d2..e8f8536 100644 --- a/sentier-international-appalaches/trail.toml +++ b/sentier-international-appalaches/trail.toml @@ -2,7 +2,8 @@ id = "sentier-international-appalaches" name = "Sentier international des Appalaches (International Appalachian Trail, Quebec and New Brunswick)" -short_name = "IAT-CA" +short_name = "IAT" +short_name_url = "https://www.sia-iat.com/a-propos-du-sia?lang=en" country = "CA" regions = ["QC", "NB"] length_km = 1177 diff --git a/sentier-national/trail.toml b/sentier-national/trail.toml index 8b3f828..d71a1ca 100644 --- a/sentier-national/trail.toml +++ b/sentier-national/trail.toml @@ -2,7 +2,8 @@ id = "sentier-national" name = "Sentier National (Quebec)" -short_name = "SN" +short_name = "SNQ" +short_name_url = "https://www.randoquebec.ca/sentier-national-au-quebec/" country = "CA" regions = ["QC"] length_km = 1500 diff --git a/shawangunk-ridge-trail/trail.toml b/shawangunk-ridge-trail/trail.toml index bac9320..5ed8ca9 100644 --- a/shawangunk-ridge-trail/trail.toml +++ b/shawangunk-ridge-trail/trail.toml @@ -3,6 +3,7 @@ id = "shawangunk-ridge-trail" name = "Shawangunk Ridge Trail" short_name = "SRT" +short_name_url = "https://secure.nynjtc.org/node/874" country = "US" regions = ["NJ", "NY"] length_km = 114 diff --git a/sheltowee-trace/trail.toml b/sheltowee-trace/trail.toml index e5c9b5e..d11fb23 100644 --- a/sheltowee-trace/trail.toml +++ b/sheltowee-trace/trail.toml @@ -2,7 +2,6 @@ id = "sheltowee-trace" name = "Sheltowee Trace National Recreation Trail" -short_name = "STT" country = "US" regions = ["KY", "TN"] length_km = 515 diff --git a/sierra-grand-traverse/trail.toml b/sierra-grand-traverse/trail.toml index f3727a6..c028955 100644 --- a/sierra-grand-traverse/trail.toml +++ b/sierra-grand-traverse/trail.toml @@ -2,7 +2,6 @@ id = "sierra-grand-traverse" name = "Sierra Grand Traverse" -short_name = "SGT" country = "US" regions = ["CA"] length_km = 322 diff --git a/sierra-high-route/trail.toml b/sierra-high-route/trail.toml index c8a3010..c4adcc4 100644 --- a/sierra-high-route/trail.toml +++ b/sierra-high-route/trail.toml @@ -3,6 +3,7 @@ id = "sierra-high-route" name = "Sierra High Route" short_name = "SHR" +short_name_url = "https://andrewskurka.com/product/sierra-high-route-map-set-databook/" country = "US" regions = ["CA"] length_km = 314 diff --git a/sky-islands-traverse/trail.toml b/sky-islands-traverse/trail.toml index a60e935..beb9d6d 100644 --- a/sky-islands-traverse/trail.toml +++ b/sky-islands-traverse/trail.toml @@ -2,7 +2,8 @@ id = "sky-islands-traverse" name = "Sky Islands Traverse" -short_name = "SIT" +short_name = "SKIT" +short_name_url = "https://simblissity.net/skit.shtml" country = "US" regions = ["AZ"] length_km = 837 diff --git a/south-boundary/trail.toml b/south-boundary/trail.toml index 250f716..d75d46a 100644 --- a/south-boundary/trail.toml +++ b/south-boundary/trail.toml @@ -2,7 +2,6 @@ id = "south-boundary" name = "South Boundary Trail" -short_name = "SBT" country = "CA" regions = ["AB"] length_km = 121 diff --git a/southeastern-serpentine-trail/trail.toml b/southeastern-serpentine-trail/trail.toml index ed9f9a7..f58d760 100644 --- a/southeastern-serpentine-trail/trail.toml +++ b/southeastern-serpentine-trail/trail.toml @@ -3,6 +3,7 @@ id = "southeastern-serpentine-trail" name = "Southeastern Serpentine Trail" short_name = "SST" +short_name_url = "https://thehikinglife.com/2016/07/southeastern-serpentine-trail/" country = "US" regions = ["SC", "NC", "GA", "TN"] length_km = 938 diff --git a/southern-sierra-high-route/trail.toml b/southern-sierra-high-route/trail.toml index 3c8ef94..1c4d05c 100644 --- a/southern-sierra-high-route/trail.toml +++ b/southern-sierra-high-route/trail.toml @@ -3,6 +3,7 @@ id = "southern-sierra-high-route" name = "Southern Sierra High Route" short_name = "SoSHR" +short_name_url = "https://www.adventurealan.com/southern-sierra-high-route-soshr-guide/" country = "US" regions = ["CA"] length_km = 161 diff --git a/southwestern-horseshoe/trail.toml b/southwestern-horseshoe/trail.toml index 3f7dc16..abb0d54 100644 --- a/southwestern-horseshoe/trail.toml +++ b/southwestern-horseshoe/trail.toml @@ -3,6 +3,7 @@ id = "southwestern-horseshoe" name = "Southwestern Horseshoe" short_name = "SWH" +short_name_url = "https://thehikinglife.com/2019/03/southwestern-horseshoe/" country = "US" regions = ["UT", "AZ", "NM"] length_km = 2867 diff --git a/standing-stone/trail.toml b/standing-stone/trail.toml index b08afad..2a30420 100644 --- a/standing-stone/trail.toml +++ b/standing-stone/trail.toml @@ -3,6 +3,7 @@ id = "standing-stone" name = "Standing Stone Trail" short_name = "SST" +short_name_url = "https://www.standingstonetrail.org/" country = "US" regions = ["PA"] length_km = 137 diff --git a/sunapee-ragged-kearsarge/trail.toml b/sunapee-ragged-kearsarge/trail.toml index 7839718..ceaf806 100644 --- a/sunapee-ragged-kearsarge/trail.toml +++ b/sunapee-ragged-kearsarge/trail.toml @@ -3,6 +3,7 @@ id = "sunapee-ragged-kearsarge" name = "Sunapee-Ragged-Kearsarge Greenway" short_name = "SRKG" +short_name_url = "https://www.srkg.org/" country = "US" regions = ["NH"] length_km = 121 diff --git a/sunshine-coast/trail.toml b/sunshine-coast/trail.toml index 4ed954c..048c460 100644 --- a/sunshine-coast/trail.toml +++ b/sunshine-coast/trail.toml @@ -3,6 +3,7 @@ id = "sunshine-coast" name = "Sunshine Coast Trail" short_name = "SCT" +short_name_url = "https://sunshinecoasttrail.com/" country = "CA" regions = ["BC"] length_km = 180 diff --git a/superior-hiking/trail.toml b/superior-hiking/trail.toml index 233d38f..1ccb491 100644 --- a/superior-hiking/trail.toml +++ b/superior-hiking/trail.toml @@ -3,6 +3,7 @@ id = "superior-hiking" name = "Superior Hiking Trail" short_name = "SHT" +short_name_url = "https://superiorhiking.org/thru-hiking/" country = "US" regions = ["MN"] length_km = 499 diff --git a/susquehannock/trail.toml b/susquehannock/trail.toml index 17e1ce6..657cf66 100644 --- a/susquehannock/trail.toml +++ b/susquehannock/trail.toml @@ -3,6 +3,7 @@ id = "susquehannock" name = "Susquehannock Trail System" short_name = "STS" +short_name_url = "https://stc-hike.org/" country = "US" regions = ["PA"] length_km = 135 diff --git a/tahoe-rim/trail.toml b/tahoe-rim/trail.toml index b42e9d0..e1edcc3 100644 --- a/tahoe-rim/trail.toml +++ b/tahoe-rim/trail.toml @@ -3,6 +3,7 @@ id = "tahoe-rim" name = "Tahoe Rim Trail" short_name = "TRT" +short_name_url = "https://tahoerimtrail.org/" country = "US" regions = ["CA", "NV"] length_km = 266 diff --git a/tahoe-yosemite-trail/trail.toml b/tahoe-yosemite-trail/trail.toml index b449f66..e98de2a 100644 --- a/tahoe-yosemite-trail/trail.toml +++ b/tahoe-yosemite-trail/trail.toml @@ -2,7 +2,6 @@ id = "tahoe-yosemite-trail" name = "Tahoe–Yosemite Trail" -short_name = "TYT" country = "US" regions = ["CA"] length_km = 299 diff --git a/teton-crest/trail.toml b/teton-crest/trail.toml index 37579a4..e26e181 100644 --- a/teton-crest/trail.toml +++ b/teton-crest/trail.toml @@ -2,7 +2,8 @@ id = "teton-crest" name = "Teton Crest Trail" -short_name = "TCT-WY" +short_name = "TCT" +short_name_url = "https://www.nps.gov/grte/planyourvisit/backcountryroutesandzones.htm" country = "US" regions = ["WY"] length_km = 64 diff --git a/teton-range-traverse/trail.toml b/teton-range-traverse/trail.toml index 1d63b5d..705c4d3 100644 --- a/teton-range-traverse/trail.toml +++ b/teton-range-traverse/trail.toml @@ -2,7 +2,6 @@ id = "teton-range-traverse" name = "Teton Range Traverse" -short_name = "TRT" country = "US" regions = ["WY"] length_km = 171 diff --git a/thames-valley-trail/trail.toml b/thames-valley-trail/trail.toml index 0cfa878..f90aacd 100644 --- a/thames-valley-trail/trail.toml +++ b/thames-valley-trail/trail.toml @@ -2,7 +2,6 @@ id = "thames-valley-trail" name = "Thames Valley Trail" -short_name = "TVT" country = "CA" regions = ["ON"] length_km = 110 diff --git a/timberline/trail.toml b/timberline/trail.toml index 578367e..78df033 100644 --- a/timberline/trail.toml +++ b/timberline/trail.toml @@ -2,7 +2,6 @@ id = "timberline" name = "Timberline Trail (Mount Hood)" -short_name = "TLT" country = "US" regions = ["OR"] length_km = 64 diff --git a/toiyabe-crest/trail.toml b/toiyabe-crest/trail.toml index 9ce4a5c..5fc79d1 100644 --- a/toiyabe-crest/trail.toml +++ b/toiyabe-crest/trail.toml @@ -2,7 +2,6 @@ id = "toiyabe-crest" name = "Toiyabe Crest National Recreation Trail" -short_name = "TCT" country = "US" regions = ["NV"] length_km = 101 diff --git a/tools/tests/test_short_name.py b/tools/tests/test_short_name.py new file mode 100644 index 0000000..90929e7 --- /dev/null +++ b/tools/tests/test_short_name.py @@ -0,0 +1,59 @@ +"""Tests for the short_name and short_name_url checks in tools/validate.py: no network, no numpy. + +Run from the repository root: + python3 -m unittest discover tools/tests +""" +import os +import sys +import unittest + +sys.dont_write_bytecode = True +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + +import validate as V # noqa: E402 + +URL = "https://www.pcta.org/" + + +def check(rec): + errors = [] + V.check_short_name("t", rec, errors) + return errors + + +class ShortNameTest(unittest.TestCase): + def test_none_is_valid(self): + self.assertEqual(check({}), []) + + def test_abbreviation_with_page_is_valid(self): + self.assertEqual(check({"short_name": "PCT", "short_name_url": URL}), []) + self.assertEqual(check({"short_name": "PCT", "short_name_url": "http://example.org/a"}), []) + + def test_abbreviation_needs_a_page(self): + errors = check({"short_name": "PCT"}) + self.assertEqual(len(errors), 1) + self.assertIn("needs short_name_url", errors[0]) + + def test_page_needs_an_abbreviation(self): + errors = check({"short_name_url": URL}) + self.assertEqual(len(errors), 1) + self.assertIn("without short_name", errors[0]) + + def test_page_must_be_http(self): + for bad in ("www.pcta.org", "ftp://example.org/", "", 5): + self.assertTrue(any("http(s)" in e for e in check({"short_name": "PCT", "short_name_url": bad})), bad) + + def test_no_full_stops(self): + errors = check({"short_name": "A.T.", "short_name_url": URL}) + self.assertEqual(len(errors), 1) + self.assertIn("full stops", errors[0]) + self.assertEqual(check({"short_name": "M-DT", "short_name_url": URL}), []) + self.assertEqual(check({"short_name": "L2H", "short_name_url": URL}), []) + + def test_abbreviation_must_be_a_clean_string(self): + for bad in ("", " ", " PCT", "PCT ", 7, ["PCT"]): + self.assertTrue(check({"short_name": bad, "short_name_url": URL}), repr(bad)) + + +if __name__ == "__main__": + unittest.main() diff --git a/tools/validate.py b/tools/validate.py index 2026cd1..cde5f08 100644 --- a/tools/validate.py +++ b/tools/validate.py @@ -355,6 +355,24 @@ def check_elevation(tid, tdir, rec, errors): errors.append(f"{where}: source.computed must be a date (YYYY-MM-DD)") +def check_short_name(tid, rec, errors): + """short_name is optional; where present it needs short_name_url, the page where it was seen in use.""" + name, url = rec.get("short_name"), rec.get("short_name_url") + if "short_name" in rec: + if not isinstance(name, str) or not name.strip(): + errors.append(f"{tid}: short_name must be a non-empty string (leave it out when no abbreviation is in use)") + elif name != name.strip(): + errors.append(f"{tid}: short_name has a leading or trailing space") + elif "." in name: + errors.append(f"{tid}: short_name must be written without full stops (\"AT\", not \"A.T.\")") + if "short_name_url" not in rec: + errors.append(f"{tid}: short_name needs short_name_url, the page where it was seen in use") + elif "short_name_url" in rec: + errors.append(f"{tid}: short_name_url without short_name") + if "short_name_url" in rec and not (isinstance(url, str) and url.startswith(("https://", "http://"))): + errors.append(f"{tid}: short_name_url must be an http(s) URL") + + LINK_FIELDS = ("title", "publisher", "url") LINK_KEYS = {"title", "publisher", "url", "note"} @@ -415,10 +433,11 @@ def main(): continue trails.append(rec) - for field in ("id", "name", "short_name", "country", "regions", + for field in ("id", "name", "country", "regions", "length_km", "tier", "designation"): if field not in rec or rec[field] in ("", None, []): errors.append(f"{tid}: missing required field {field}") + check_short_name(tid, rec, errors) if rec.get("id") != tid: errors.append(f"{tid}: id {rec.get('id')!r} does not match directory name") if rec.get("country") not in ("US", "CA"): diff --git a/trans-adirondack-route/trail.toml b/trans-adirondack-route/trail.toml index 7c97c16..9919ccb 100644 --- a/trans-adirondack-route/trail.toml +++ b/trans-adirondack-route/trail.toml @@ -3,6 +3,7 @@ id = "trans-adirondack-route" name = "Trans Adirondack Route" short_name = "TAR" +short_name_url = "https://erikschlimmer.com/tar-1" country = "US" regions = ["NY"] length_km = 391 diff --git a/traversee-charlevoix/trail.toml b/traversee-charlevoix/trail.toml index b8b7e91..e8700f3 100644 --- a/traversee-charlevoix/trail.toml +++ b/traversee-charlevoix/trail.toml @@ -2,7 +2,6 @@ id = "traversee-charlevoix" name = "Traversée de Charlevoix" -short_name = "TC" country = "CA" regions = ["QC"] length_km = 105 diff --git a/tuscarora/trail.toml b/tuscarora/trail.toml index 77157ff..0005624 100644 --- a/tuscarora/trail.toml +++ b/tuscarora/trail.toml @@ -2,7 +2,6 @@ id = "tuscarora" name = "Tuscarora Trail" -short_name = "TT" country = "US" regions = ["PA", "MD", "VA", "WV"] length_km = 406 diff --git a/uinta-highline/trail.toml b/uinta-highline/trail.toml index 00c5b0c..99b08dd 100644 --- a/uinta-highline/trail.toml +++ b/uinta-highline/trail.toml @@ -2,7 +2,6 @@ id = "uinta-highline" name = "Uinta Highline Trail" -short_name = "UHT" country = "US" regions = ["UT"] length_km = 167 diff --git a/vagabond-loop/trail.toml b/vagabond-loop/trail.toml index b6b2c77..d4f557a 100644 --- a/vagabond-loop/trail.toml +++ b/vagabond-loop/trail.toml @@ -3,6 +3,7 @@ id = "vagabond-loop" name = "Vagabond Loop" short_name = "VL" +short_name_url = "https://www.freedirtmonger.com/p/vagabond-loop-four-corners-connection-1.html" country = "US" regions = ["AZ", "UT", "CO", "NM"] length_km = 5632 diff --git a/vancouver-island-backbone/trail.toml b/vancouver-island-backbone/trail.toml index 04b1cde..e593796 100644 --- a/vancouver-island-backbone/trail.toml +++ b/vancouver-island-backbone/trail.toml @@ -2,7 +2,6 @@ id = "vancouver-island-backbone" name = "Vancouver Island Backbone" -short_name = "VIB" country = "CA" regions = ["BC"] length_km = 300 diff --git a/vancouver-island/trail.toml b/vancouver-island/trail.toml index d4b2f6d..53a74c2 100644 --- a/vancouver-island/trail.toml +++ b/vancouver-island/trail.toml @@ -3,6 +3,7 @@ id = "vancouver-island" name = "Vancouver Island Trail" short_name = "VIT" +short_name_url = "https://vancouverislandtrail.ca/the-trail/about-the-vit/" country = "CA" regions = ["BC"] length_km = 800 diff --git a/voyageur/trail.toml b/voyageur/trail.toml index 152baf2..6251da8 100644 --- a/voyageur/trail.toml +++ b/voyageur/trail.toml @@ -2,7 +2,6 @@ id = "voyageur" name = "Voyageur Trail" -short_name = "VT-ON" country = "CA" regions = ["ON"] length_km = 1100 diff --git a/warrior-trail/trail.toml b/warrior-trail/trail.toml index 8a86bd0..b416b1b 100644 --- a/warrior-trail/trail.toml +++ b/warrior-trail/trail.toml @@ -2,7 +2,6 @@ id = "warrior-trail" name = "Warrior Trail" -short_name = "WT" country = "US" regions = ["PA", "WV"] length_km = 108 diff --git a/wasatch-traverse/trail.toml b/wasatch-traverse/trail.toml index e4ce709..66718d1 100644 --- a/wasatch-traverse/trail.toml +++ b/wasatch-traverse/trail.toml @@ -2,7 +2,6 @@ id = "wasatch-traverse" name = "Wasatch Traverse" -short_name = "WT" country = "US" regions = ["UT"] length_km = 455 diff --git a/waskahegan/trail.toml b/waskahegan/trail.toml index 3cbbc0a..8db4226 100644 --- a/waskahegan/trail.toml +++ b/waskahegan/trail.toml @@ -2,7 +2,6 @@ id = "waskahegan" name = "Waskahegan Trail" -short_name = "WT" country = "CA" regions = ["AB"] length_km = 309 diff --git a/west-coast-trail/trail.toml b/west-coast-trail/trail.toml index e3981c0..58ce2ca 100644 --- a/west-coast-trail/trail.toml +++ b/west-coast-trail/trail.toml @@ -3,6 +3,7 @@ id = "west-coast-trail" name = "West Coast Trail" short_name = "WCT" +short_name_url = "https://parks.canada.ca/pn-np/bc/pacificrim/activ/sco-wct" country = "CA" regions = ["BC"] length_km = 75 diff --git a/wind-river-high-route-dixon-wilson/trail.toml b/wind-river-high-route-dixon-wilson/trail.toml index a87b196..3dc1ecb 100644 --- a/wind-river-high-route-dixon-wilson/trail.toml +++ b/wind-river-high-route-dixon-wilson/trail.toml @@ -2,7 +2,8 @@ id = "wind-river-high-route-dixon-wilson" name = "Wind River High Route (Dixon and Wilson)" -short_name = "WRHR-DW" +short_name = "WRHR" +short_name_url = "https://www.adventurealan.com/wind-river-high-route-guide/" country = "US" regions = ["WY"] length_km = 129 diff --git a/wind-river-high-route-skurka/trail.toml b/wind-river-high-route-skurka/trail.toml index 6331382..430c2b4 100644 --- a/wind-river-high-route-skurka/trail.toml +++ b/wind-river-high-route-skurka/trail.toml @@ -3,6 +3,7 @@ id = "wind-river-high-route-skurka" name = "Wind River High Route (Skurka guide)" short_name = "WRHR" +short_name_url = "https://andrewskurka.com/adventures/wind-river-high-route/" country = "US" regions = ["WY"] length_km = 156 diff --git a/wonderland/trail.toml b/wonderland/trail.toml index 38bd3b2..a6935d4 100644 --- a/wonderland/trail.toml +++ b/wonderland/trail.toml @@ -2,7 +2,6 @@ id = "wonderland" name = "Wonderland Trail" -short_name = "WT" country = "US" regions = ["WA"] length_km = 150 diff --git a/yosemite-high-route/trail.toml b/yosemite-high-route/trail.toml index 2bd69ae..1e5e94b 100644 --- a/yosemite-high-route/trail.toml +++ b/yosemite-high-route/trail.toml @@ -2,7 +2,6 @@ id = "yosemite-high-route" name = "Yosemite High Route" -short_name = "YHR" country = "US" regions = ["CA"] length_km = 261