From f269cd8872906292e1a4191f26cef178dd89fd69 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 22 Nov 2026 11:51:53 -0700 Subject: [PATCH] Record the Waitukubuli National Trail as considered and left out, being outside the United States and Canada The entry keeps what the trail's own site and Kate Siber's 100 Hikes of a Lifetime say about it, in case the catalogue's area widens. A new left-out reason, outside-us-canada, allows a country other than US or CA. Co-Authored-By: Claude Fable 5.2 --- CHANGELOG.md | 1 + docs/schema.md | 3 ++- left-out.toml | 13 +++++++++++++ tools/tests/test_left_out.py | 6 ++++++ tools/validate.py | 17 ++++++++++++++--- web/olt/leftout.py | 2 ++ 6 files changed, 38 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86b24b0..2f4fdba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - For readers of the Sources page: the "Used by" lines in SOURCES.md no longer state counts of trails typed by hand, since the counts by licence and by track source above them are computed from the records. Every count a page shows is now computed from the data at build time. - For contributors: the tests no longer pin the number of trails, routes or tracks, so adding a trail needs no test change. - Eli Boschetto's author page (/authors/eli-boschetto/) now also says, from the back cover of Backpacking Oregon (Mountaineers Books, 1st edition 2026, ISBN 978-1-68051-626-5, read from a printed copy), that he lives in Portland, wrote 100 Classic Hikes: Oregon and Day Hiking Mount Hood as well as his other guides, and that the book describes 70 overnight and multiday routes. The ISBN is confirmed by the cover's barcode and the publisher's page for the book is confirmed to open. +- The Waitukubuli National Trail in Dominica (115 miles, 185 km, 14 segments, 10 to 14 days) is added to the "Considered and left out" page under a new reason, "Outside the United States and Canada", because this list covers those two countries only for now. Its entry keeps what the trail's own site and Kate Siber's 100 Hikes of a Lifetime (page 70) say, so the data is ready if the area widens. For contributors: left-out.toml accepts that reason with the trail's own two letter country code and plain-word places. ## 2026-11-21 - The Three Sisters Loop from Eli Boschetto's Backpacking Oregon diff --git a/docs/schema.md b/docs/schema.md index 1f2bdd8..b79e456 100644 --- a/docs/schema.md +++ b/docs/schema.md @@ -36,7 +36,7 @@ line_file = "line.geojson" | `common_name` | string, where present | The name hikers use, where it differs from `name`: `"Appalachian Trail"` for `"Appalachian National Scenic Trail"`. Only where the trail's holder or author (or the agency that manages it) uses that name on a page; the page goes in the `basis_url` of the `[[history]]` entry that adds it. Never made up, and never the same as `name`. The site puts it in the page title, the heading and the search; `name` stays on the page. | `"Appalachian Trail"` | | `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"` | +| `country` | string | `US` or `CA`; for reason `outside-us-canada`, the trail's own two letter country code. | `"US"` | | `regions` | array of strings | State, province or territory codes crossed. | `["VT"]` | | `length_km` | integer | The end-to-end length of the trail's canonical path, in kilometres, as the trail's holder or author states it. A check value, not measured from the track. See "What `length_km` counts" below. | `438` | | `length_note` | string | Where the length was read, and any disagreement between pages. | `"272 mi published"` | @@ -353,6 +353,7 @@ The `reason` values mirror the inclusion rule: | `mostly-unbuilt` | Mostly unbuilt or still proposed. | | `requires-climbing` | Requires roped or technical climbing: a route that needs a rope, a belay or rock-climbing skill, beyond a few short Class 4 scrambles, unless that section is optional. | | `not-published-as-route` | A route its author has not published as a route, with a stated length, for others to follow (a route with no published length is left out under this reason); or a walk no land manager publishes as a named trail with a length. | +| `outside-us-canada` | A trail outside the United States and Canada, which this list does not yet cover. The entry holds what is known about it so the data is ready if the area widens. `country` is then its own two letter code (not `US` or `CA`) and `regions` name its places in plain words. | | `waiting` | Not left out for good. `waiting_for` says what would change the decision. | ## `glossary.toml`: the words this site uses diff --git a/left-out.toml b/left-out.toml index 5f92211..66fa4d8 100644 --- a/left-out.toml +++ b/left-out.toml @@ -810,6 +810,19 @@ source_url = "https://www.voyageurtrail.ca/" decided = "2026-11-16" was_listed = true +[[trail]] +id = "waitukubuli-national-trail" +name = "Waitukubuli National Trail" +country = "DM" +regions = ["Dominica"] +length_mi = 115 +length_km = 185 +reason = "outside-us-canada" +note = "Left out because it is in Dominica, and this list covers only the United States and Canada for now; the entry keeps what is known in case that widens. Dominica's Forestry, Wildlife and Parks Division manages it (its Trail Management Unit runs the trail's own site, waitukubulitrail.dm). That site's FAQ gives 184 km (115 miles) in fourteen segments from Scott's Head in the south to the Cabrits National Park in the north: 1 Scott's Head to Soufriere Estate, 2 Soufriere Estate to Bellevue Chopin, 3 Bellevue Chopin to Wotten Waven, 4 Wotten Waven to Pont Casse, 5 Pont Casse to Castle Bruce, 6 Castle Bruce to Hatten Garden (Pagua Bay), 7 Hatten Garden to First Camp Heights, 8 First Camp to Petite Macoucherie Heights, 9 Petite Macoucherie to Colihaut Heights, 10 Colihaut Heights to Syndicate, 11 Syndicate to Borne, 12 Borne to Penville, 13 Penville to Capuchin, 14 Capuchin to Cabrits. Kate Siber's 100 Hikes of a Lifetime (National Geographic, 2020, ISBN 978-1-4262-2095-1, page 70, read from a printed copy) gives 115 miles (185 km) point to point, 10 to 14 days, best in spring, summer and winter, expert-only, well signed, opened in 2013 and built partly to bring visitors to small interior communities, running from the Scotts Head peninsula north along the east side of the island, then northwest to Cabrits National Park; the two sources differ by 1 km in length and agree on the 2013 opening, which the FAQ gives as the trail's declaration as an eco-tourism site on May 10, 2013. Visitors and non-residents need a Waitukubuli National Trail Pass from July 1, 2013: a day pass for one or more segments (US$12.00), a special pass for organised tours (US$10.00) and a fifteen day pass for all fourteen segments (US$40.00), as the FAQ states; hikers are also asked to register beforehand. The trail's site lists a document of locations and GPS coordinates; no page read states terms for a track file, and no track is included here. No OpenStreetMap route relation was found for it, only separate ways named for its segments." +source_url = "https://waitukubulitrail.dm/resources/faq/" +decided = "2026-11-22" +was_listed = false + [[trail]] id = "xtexas-trail" name = "xTexas Trail" diff --git a/tools/tests/test_left_out.py b/tools/tests/test_left_out.py index 7c16c4b..9084c36 100644 --- a/tools/tests/test_left_out.py +++ b/tools/tests/test_left_out.py @@ -63,6 +63,12 @@ class LeftOutTest(unittest.TestCase): errors = check([dict(GOOD, reason="too-short")]) self.assertTrue(any("reason" in e for e in errors)) + def test_outside_us_canada(self): + ok = dict(GOOD, reason="outside-us-canada", country="DM", regions=["Dominica"]) + self.assertEqual(check([ok]), []) + self.assertTrue(any("country" in e for e in check([dict(ok, country="US")]))) + self.assertTrue(any("country" in e for e in check([dict(ok, country="Dominica")]))) + def test_bad_country_and_region(self): self.assertTrue(any("country" in e for e in check([dict(GOOD, country="MX")]))) self.assertTrue(any("region" in e for e in check([dict(GOOD, regions=["XX"])]))) diff --git a/tools/validate.py b/tools/validate.py index ec63cd6..6588a12 100644 --- a/tools/validate.py +++ b/tools/validate.py @@ -640,7 +640,7 @@ LEFT_OUT_FILE = "left-out.toml" LEFT_OUT_REASONS = { "below-floor", "rail-trail-or-towpath", "driving-route", "not-mainly-walking", "network", "cannot-be-walked-through", "mostly-unbuilt", "requires-climbing", - "not-published-as-route", "waiting", + "not-published-as-route", "outside-us-canada", "waiting", } LEFT_OUT_KEYS = { "id", "name", "country", "regions", "length_mi", "length_km", "length_note", @@ -709,7 +709,15 @@ def check_left_out_entries(entries, trails, errors, where=LEFT_OUT_FILE): seen_names.add(key) if key in listed_names: errors.append(f"{where}: {ename} matches a trail that is listed in the dataset") - if "country" in e and e.get("country") not in ("US", "CA"): + outside = e.get("reason") == "outside-us-canada" + if outside: + country = e.get("country") + if not (isinstance(country, str) and re.fullmatch(r"[A-Z]{2}", country) + and country not in ("US", "CA")): + errors.append( + f"{where}: {who} country must be a two letter code other than US or CA " + "when reason is outside-us-canada") + elif "country" in e and e.get("country") not in ("US", "CA"): errors.append(f"{where}: {who} country must be US or CA") regions = e.get("regions") if "regions" in e and regions not in ("", None, []): @@ -717,7 +725,10 @@ def check_left_out_entries(entries, trails, errors, where=LEFT_OUT_FILE): errors.append(f"{where}: {who} regions must be a non-empty list of region codes") else: for code in regions: - if code not in LEFT_OUT_REGIONS: + if outside: + if not isinstance(code, str) or not code.strip(): + errors.append(f"{where}: {who} regions must name places as plain words") + elif code not in LEFT_OUT_REGIONS: errors.append(f"{where}: {who} region {code!r} is not a known state or province code") if len(set(map(str, regions))) != len(regions): errors.append(f"{where}: {who} regions repeats a code") diff --git a/web/olt/leftout.py b/web/olt/leftout.py index 48dd699..6655d54 100644 --- a/web/olt/leftout.py +++ b/web/olt/leftout.py @@ -42,6 +42,8 @@ REASONS = { "Nothing harder than Class 3 may be required, apart from a few short Class 4 scrambles. A route that needs a rope, a belay or rock-climbing skill is not listed, unless that section is optional."), "not-published-as-route": ("Not published as a route by its author", "A route is listed when its author has published it as a route, with a stated length."), + "outside-us-canada": ("Outside the United States and Canada", + "This list covers the United States and Canada only for now. A trail elsewhere is recorded here with what is known about it, so that the data is ready if the area widens."), "waiting": ("Waiting", "Not left out for good. Each entry says what would change the decision."), }