Commit Graph
137 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 601235d2cb Keep the filters, switches and saved stars in step, and trim the headline
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Mirror to forge / mirror (push) Canceled after 0s
"Clear search and filters" left the longest-length list on a step: the
script rebuilds the length options and did not mark "Any" as the
default, which is what a form's reset returns to.

The same kind of fault elsewhere:

- A length in the address in the other unit (?max=200km for a reader
  who uses miles) was dropped. It now takes the nearest step, and the
  address is rewritten on load to say what the controls show.
- After Back or a reload a browser may put a form's old values back
  after the script has run, or show an old copy of the page from its
  cache. The theme and units switches, the filters, the sort and the
  saved stars are set again when the page is shown.
- A theme or units change now reaches other open tabs.
- The popup on the home page's map follows the units and closes when
  the filters leave its trail out.
- The Saved page drops ?t= from the address when the list in it is the
  visitor's own.

The home page's headline no longer says "to compare and download", and
its subtitle no longer counts the GPX files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 20:02:00 -07:00
swaitsandClaude Fable 5.2 46dc81523c Add saved trails, and move the units and theme switches to the header
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A visitor can save trails with a star on every list row and a Save
button on each trail page. The list is kept in localStorage (lh-saved)
and shown at /saved/, with a map of only those trails and a link that
carries the list in its address (/saved/?t=id,id) so it can be
bookmarked or sent to another device or person. A list opened from a
link never overwrites the visitor's own; "Save these" adds to it. The
page is noindex and left out of the sitemap.

The miles/km switch and the auto/light/dark choice move from the footer
to the header on every page, beside a Saved link that shows the count.
They are hidden without JavaScript.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 16:01:29 -07:00
swaitsandClaude Fable 5.2 ad2223f427 Give trail pages an outdoor map
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Trail maps now open on an outdoor style of our own, drawn on the same
OpenFreeMap tiles: hill shading and contour lines from the public
Terrain Tiles, woods, water, footpaths, and peaks with their heights.
Heights and contours follow the visitor's units. A switch on the map
goes back to the plain map and is remembered.

The home page's overview map is unchanged. If the elevation tiles or
the contour script fail, the map still loads without them.

The security policy allows the one elevation-tile path. The contour
add-on (maplibre-contour 0.1.1) is vendored with its licence, and the
elevation data is credited on the map, under it and in the footer.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 13:26:45 -07:00
swaitsandClaude Fable 5.2 540a3220be Add the Eastern Sierra High Route and three OpenStreetMap tracks
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The Eastern Sierra High Route (Dan Stenziano, ESHR) is a sold route, so
the record has no track.

Thames Valley, Grand Valley and Nepisiguit Mi'gmaq now have tracks from
OpenStreetMap, with elevation. The Boreal Trail does not: OpenStreetMap
holds only three short pieces of it, and its record now says so.

osm_track.py tries a third Overpass server, and tries every server once
before it waits, so a dead one no longer costs minutes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 09:38:21 -07:00
swaitsandClaude Fable 5.2 1f7edb91ab Rest two abbreviations on pages that could be read
FLT now cites a New York State DEC page and LSHT a trail profile on
The Trek. The pages cited before were the conference's home page, which
refuses automated reads, and Wikipedia.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 09:38:21 -07:00
swaitsandClaude Fable 5.2 19e7810a59 Give the High Sierra Trail its abbreviation, HST
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The check of abbreviations left the High Sierra Trail with none,
because the National Park Service's page does not use one. Hikers do
call it the HST: Treeline Review's guide to the trail, by Liz Thomas,
uses it throughout ("I've thru-hiked the HST twice"). That page is
named as where it was seen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 01:39:33 -07:00
swaitsandClaude Fable 5.2 e1f4c01aa7 Show an abbreviation only where a trail has one
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A trail's page and its row in a list show its abbreviation when the
record has one, and nothing when it has none. Trails that share an
abbreviation both show it, and a search for it lists them all.

A trail with no logo and no abbreviation gets a small neutral mark in
its box, where letters used to be made up for it. "About this data"
lists the abbreviation with a link to the page where it was seen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 01:25:14 -07:00
swaitsandClaude Fable 5.2 ae86d5c3cc 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 <noreply@anthropic.com>
2026-11-15 01:25:14 -07:00
swaitsandClaude Fable 5.2 94015cd86b Show a trail's other links, and the lists the site was checked against
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
A trail's page lists its [[link]] entries under the main buttons, as
"More about this trail": the page's title, then who publishes it. The
official site stays the main button. A trail with no official site
gets its first link in that place, named by its publisher, and that
link is not repeated in the list.

The About page shows the README's new "Other lists of long trails"
section.

Tests updated for the new trail counts, and for there being no trail
left that spans a whole country.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:52:47 -07:00
swaitsandClaude Fable 5.2 5c716c3c62 Check LongTrailsWiki's lists, link to its pages, drop five non-trails
LongTrailsWiki. Its maintainer pointed out its List of Long Trails and
its backlog, the List of Trails to Review. Every entry in the United
States and Canada on both was checked against the inclusion rule: 188
entries on the first, 573 on the second. Seven trails that meet the
rule and were missing are added: Prescott Circle, High Country Pathway,
Guadalupe Ridge, Toiyabe Crest and General George Crook trails, and the
Condor Trail and Mojave-Sonoran Trail as routes. Nothing is copied from
the wiki, whose content is share-alike: it tells us a trail exists, and
each record's facts come from the pages it names.

Links. A record can now carry any number of [[link]] tables for other
pages about the trail, each with a title, a publisher and an address.
The official site stays in hike.official_url. 97 trails link to their
page on LongTrailsWiki. The validator checks the new table.

Credit. The README gains "Other lists of long trails", naming the lists
this dataset has been checked against, LongTrailsWiki and OpenLongTrails
first.

Removed, as not walking trails: The Great Trail (Trans Canada Trail, a
30,000 km network of greenways, waterways and roads), the Great Western
Trail (a motor route), and the Iditarod, Nez Perce and Overmountain
Victory National Historic Trails. Each was marked undecided, and its
own note said why it did not belong.

From saved copies of sites that refuse automated reads: the Black
Canyon National Recreation Trail and the Montana Trail are added;
missing facts are filled on six trails; and two facts are corrected
from the holders' own pages (the Colorado Trail's high point is
13,271 ft, and the East Coast Trail is one linear trail, not a network).

The dataset now holds 182 trails, 102 with a track.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 23:52:47 -07:00
swaitsandClaude Fable 5.2 e873aab284 Let the mouse wheel scroll the page when it is over the filters
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The last change gave the filter panel overscroll-behavior: contain, to
stop a scroll inside the panel carrying on into the page. In Chromium
that rule also applies when the panel has nothing to scroll, so with the
mouse over the filters the wheel moved nothing at all and the trail
list could not be scrolled from there. Firefox, where the change was
tested, does not behave that way.

The rule is removed. Over the panel the wheel now scrolls the panel
while it has further to go, and the page otherwise. Checked in a
Chromium browser by turning the wheel over the panel at two window
heights, with "More filters" open and closed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 21:52:45 -07:00
swaitsandClaude Fable 5.2 2271afac32 Make every filter reachable, and one line each
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The filter panel beside the trail list stuck to the top of the window
only on tall windows, and once "More filters" made it taller than the
window its lower half could not be reached until the page ran out of
trails. It now stays beside the list at any window height and is never
taller than the window: when its fields do not fit, the panel scrolls
on its own, with "Clear search and filters" kept at its foot.

The extra filters were set in two columns inside that narrow panel at
some window widths, which wrapped every choice. Beside the list they
are now one column, and each choice is one line with its count on the
right. The GPX choices have shorter names, the Walking descriptions
moved to a tooltip, and Kind reads "Official (131)".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 21:28:03 -07:00
swaitsandClaude Fable 5.2 19fabadd49 Put miles and feet first, and give the site a proper mark
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Units. Miles and feet now come first everywhere unless the reader
chooses kilometres and metres: paired figures, the time estimate, the
elevation profile, page descriptions and the map scale. The length
filter and the length scale use round mile steps (round kilometre steps
for a reader who chose them). The lists defined by length are now
"Under 100 miles" and "The longest" at 1,000 miles or more; the old
/lists/under-100-km/ address redirects. The records stay metric.

Branding. The tab icon was a bare red blaze that read as a red block;
it is now a mountain with a trail up it, with PNG sizes for browsers
and phones that need them. The home page opens with the mark, the name
and what the site offers. Link previews get a real 1200x630 image:
the old one was an SVG, which Reddit, Slack and iMessage do not draw.

The decorative contour lines now stay inside the content column and
thin out to nothing on every side, where they used to run to the right
edge of a wide window and stop dead at the bottom of the band.

Tests updated for the new trail counts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 20:37:14 -07:00
swaitsandClaude Fable 5.2 c7e8e58dce Add 41 trails found by checking other lists of long trails
Every entry on the lists other sites keep (Wikipedia's United States and
Canadian lists, the National Trails System, the OpenStreetMap wiki,
ALDHA-West, The Trek, thru-hiking.com, Nutty Hiker, HikeList, Explore
magazine's Canadian list, Hike Ontario, and the pages of about a dozen
route authors) was checked against the inclusion rule. The trails that
meet it and were missing are added: 29 official trails and 12 routes.
The dataset now holds 178 trails, 97 with a track.

Each new record confirms the trail's length and holder on the holder's
own page, includes a track only where it may be shared, and carries
sourced hiker facts. Five are marked held where a question is open.
The American Discovery Trail is listed, with its record saying how much
of it is road and shared path.

Rule changes, as decided:
- The floor stays at 50 miles. The Fundy Footpath (41 km) is removed,
  since it sits below even the band for short well-known trails.
- Not listed: paths made mainly for cycling, such as gravel rail trails
  and canal towpaths, and historic trails that are mainly driving
  routes. The README says so.
- A hiker fact may now be read on an established hiking site where the
  holder and government pages say nothing; that site is named as the
  source. The holder's figure still wins a disagreement.

New tool: tools/osm_track.py fetches a trail's OpenStreetMap route
relation and writes line.geojson, alternates.geojson and release.txt in
the dataset's form, with the measured length and number of parts. It
reproduces the existing Loyalsock and Arizona tracks exactly.

Corrections: the Deseret Hiking Route also runs through Idaho, and the
Vagabond Loop links its author's live page in place of an archived copy.

Tracks for four of the new trails (Thames Valley, Grand Valley,
Nepisiguit Mi'gmaq, Boreal) are still to be fetched: the Overpass
servers were unreachable.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 20:37:14 -07:00
swaitsandClaude Fable 5.2 51baaa401e Sort every list of trails, and map trails that have no track
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Sorting. Every list of trails has a "Sort by" menu: name, length, time
or climb, each in both directions. Where the list is a table, the
Trail, Length, Time and Climb heads sort on click and reverse on a
second click. Lists open by name, A to Z, except the four that are
defined by an order (the longest, under 100 km, a week or less, one to
two weeks). The chosen order is kept in the page address. The pages are
written in their default order, so they are right without JavaScript.

Maps. A trail with no track but a known start and end is drawn as a
dotted straight line between the two with a ring at each; one with a
single known point is drawn as a ring. They follow the filters, the
row highlight and the popup like any track, and that trail's own page
shows a map in place of the empty frame. The legend, the caption and
the popup say the dotted line is not the trail's path. It gives no
download, no GPX status and no elevation.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 17:30:12 -07:00
swaitsandClaude Fable 5.2 d84116ce3a Add start and end positions for trails with no track
Two optional [hike] fields, start_lonlat and end_lonlat, give the
position of the place named in start and end, so that a trail with no
track can still be put on a map. 32 of the 53 trails with no track now
have at least one: 45 points in all.

Every point names its source. Only sources that fit the records'
public-domain dedication were used: the USGS Geographic Names
Information System, Natural Resources Canada's geographical names, and
Wikidata. A point is the named place, not a surveyed trailhead. Where
the trailhead itself is in none of those, the point is the lake, creek
or meadow it is named for. An end that is only a border, a whole park
or a mountain range has no point.

The validator checks the shape and range of each point, that its place
name and source are present, and that two ends are not farther apart
than the trail is long.

Also: the Eastern Continental Trail starts at Key West, as its author's
page says, and the Brazeau Loop gains its start, the Nigel Creek
trailhead.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 17:30:12 -07:00
swaitsandClaude Fable 5.2 b817d2097b Rebuild the site for people browsing trails
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
The site read like a database. It is now a place to find and read about
long trails, and everything on it is still derived from the records.

- One kind of thing: a trail. A route is a kind of trail, explained
  where the word first appears. The navigation is Trails, Places, About.
- The home page is the catalogue, with filters for where, length, time,
  season, terrain, kind, walking, shape and GPX. A filter is offered
  only when at least a third of the trails have a value for it.
- Lists (for example National Scenic Trails and Routes) and a Places
  page that groups states and provinces into regions.
- A trail page leads with what a hiker needs: summary, at a glance,
  map, downloads, elevation profile and where to go next. The dataset's
  own fields sit in a collapsed "About this data" section.
- The trail list is a compact card on phones and beside the filters,
  and a column table where it has the full page width.
- web/serve.py takes --bind, for viewing from another device.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 01:32:22 -07:00
swaitsandClaude Fable 5.2 efb6164737 Add hiker facts and elevation to the trail records
Each record gains a [hike] table with what a person choosing a trail
wants to know: a one-sentence summary, the official page, where it
starts and ends, its shape, how many days it takes, the season, the
high point, the terrain, how much is off trail and whether a permit is
needed. Every fact names the source it came from, and the validator
rejects a fact with no source. 137 of the 138 trails have the table.

The 85 trails with a track gain elevation.json: highest and lowest
points, total climb and descent, and a profile, computed by
tools/elevation.py from the AWS Terrain Tiles.

Wording: a hiker-made trail is a "route" and its person the "author";
a trail's geometry is a "track". The README, the contributing guide and
the schema now say so, and 71 sentences in the records were rewritten
to match.

Corrections found while checking sources:
- Bartram Trail: the official link now goes to the Forest Service page,
  because the old domain serves injected spam.
- Eastern Continental Trail: ends at Cap Gaspé; Newfoundland removed
  from its regions.
- Wind River High Route (Dixon and Wilson): named for both authors.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 01:32:22 -07:00
swaitsandClaude Fable 5.2 3d88004324 Finish the 15 records that named a logo but included none
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Seven now include the trail's logo, taken from its holder's own site:
California Coastal Trail, Fundy Footpath, Grand Enchantment Trail,
Great Eastern Trail, the Great Trail (Trans Canada Trail), and the
Nez Perce and Overmountain Victory National Historic Trails.

Four have no logo of their own, only their agency's mark, and say so
(no-logo-exists): Pukaskwa Coastal, Teton Crest, Timberline and West
Coast Trail. Four have an emblem that no clean copy of was found on
the holder's site (logo-not-found): Iditarod, Kekekabic, Oregon Desert
and Great Western. Each note says what was looked at.

Trans Canada Trail and the National Park Service state that use of
their marks needs permission; the marks are shown here only to
identify the trails, as NOTICE.md says of every logo.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:58:54 -07:00
swaitsandClaude Fable 5.2 249d866efe Do not say a logo was taken from a page when none is included
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Fifteen records name where a trail's logo is held but include no logo
file. Their pages listed that link as "The page the logo was taken
from", with no logo anywhere on the page. The link now reads "The logo
holder's site; the logo is not included here", and the Logo section
says the trail has a logo, who holds it, and that no copy is in the
dataset.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:46:35 -07:00
swaitsandClaude Fable 5.2 48e1cc39fb Deploy the site after the checks pass on main
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s
Netlify is not notified of pushes to this repository, so the workflow
asks it to build: a third job calls a Netlify build hook once the
validator and the site's tests and build have passed on main. A failing
record or page is therefore never published.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:20:44 -07:00
swaitsandClaude Fable 5.2 25f62d0401 Pass changes merged on GitHub on to the forge
Mirror to forge / mirror (push) Waiting to run
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
A workflow pushes every push to main on GitHub to the primary
repository at git.swaits.com, so a pull request merged on GitHub
reaches both without anyone pulling it by hand. It uses a deploy key
that can write to that one repository, checks the forge's host key,
and never forces: if the two have diverged it fails.

CONTRIBUTING.md names the forge repository.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 14:02:39 -07:00
swaitsandClaude Fable 5.2 30c306ecc6 Invite corrections: links on every page, issue forms, site checks
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Each trail's page now offers "Report a problem" (a GitHub form with the
record filled in), "Edit this record" and "History". The footer, the
home page and About link to the forms for a wrong record and a missing
trail, and Logos links to a form for a steward or creator who wants a
track or logo removed or re-credited. The links are built only when
repo_url in web/site.toml is a github.com repository.

.github/ has the three issue forms and a pull request checklist, and
the workflow also runs the site's tests and a build, on Python 3.12.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaitsandClaude Fable 5.2 1760ae4da9 Name the dataset Long Hikes and say where changes are sent
The README is titled Long Hikes, after the site at longhikes.org, and
points to https://github.com/swaits/longhikes for issues and pull
requests. CONTRIBUTING.md has a new section on how to send a change:
the "Report a problem" form on each trail's page, editing a record in
a fork, and the checks every pull request gets.

The route table's column and the schema heading say "track policy",
as the site does; the field is still `line_policy`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 13:17:20 -07:00
swaits e998a15b30 Call a trail's geometry a track, not a line
The documents and the records' own notes now say "track" for what is
stored in line.geojson and offered as GPX. Field and file names keep
"line" (line.geojson, line_policy, line_source), and so do attribution
strings, creators' quoted words and trail names.
2026-11-13 13:06:31 -07:00
swaitsandClaude Fable 5.2 eb444ff0e6 Say "track" on the site for a trail's geometry
The pages called the thing a hiker downloads and sees on the map a
"line". They now call it a track, name the format on download links
("Download GPX and GeoJSON"), and speak of the map where the text is
about what is drawn. Field and file names shown on purpose keep
"line" (line.geojson, line_policy).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 12:43:49 -07:00
swaitsandClaude Fable 5.2 abfbeb00bd Add the Long Hikes static site (longhikes.org)
Validate / validate (push) Canceled after 0s
web/ is a static site generator for the dataset, in Python's standard
library only. `python3 web/build.py --out _site` writes a page for each
of the 138 records, a finder on the home page with a map of the 85
lines, region and route indexes, and the repository's documents as
pages. Each line is offered as the record's GeoJSON and as a GPX
simplified to 5 m, with two archives of everything.

The site's name and address are set in web/site.toml: Long Hikes, at
https://longhikes.org. The dataset keeps its own name.

netlify.toml and web/static/_headers configure the Netlify site
(content types, download dispositions, caching, a content security
policy with no inline script). It is deployed with the Netlify CLI
from a local build, because Netlify cannot build from this forge.

MapLibre GL JS and the two typefaces are vendored under web/assets/;
map tiles come from OpenFreeMap. Tests: python3 -m unittest discover
-s web/tests (164).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 12:20:32 -07:00
swaits c42cfbbe73 Add person-defined routes as records
Validate / validate (push) Canceled after 0s
34 person-defined routes, each with its creator, the guide it is got
from (free or for sale), and the creator's words on sharing the line.

One has a line: the Big SEKI Loop, from its OpenStreetMap route relation
(11628437), 251.2 km against the published 249 km. The other 33 have no
line, and no line was taken from OpenStreetMap even where one exists,
because the route is sold, the creator withholds it, the question is not
settled, or the creator's download carries no licence to pass it on.

The Vancouver Island Trail is already listed as vancouver-island and is
unchanged.
2026-11-10 14:43:17 -07:00
swaits 4ac5815af9 Schema and rule for person-defined routes
Person-defined routes are now listed at the same 50-mile floor as
designated trails, as records that say where the route is got from its
creator. A line is included only where the creator's terms allow it or
where OpenStreetMap carries the route; nothing is included for a sold,
withheld or unsettled route.

Adds kind, [route] and [[guide]] to the schema, the checks in
tools/validate.py, kind and line_policy in trails.csv and
index.geojson, and a second generated README table for routes.
2026-11-10 14:23:21 -07:00
swaits aacb43d38e Add 40 designated trails, 35 of them with an OpenStreetMap line
Validate / validate (push) Canceled after 0s
Each record names its steward, the page the length was read on, and the
designation. Lines are built from the trail's OpenStreetMap route relation
(ODbL-1.0). Five trails have no OpenStreetMap route relation and ship as
records only, with the reason stated.
2026-11-10 14:12:44 -07:00
swaits 50599e713c Lower the length floor to 50 miles (80 km)
The dataset listed trails of 100 km or more. The owner lowered the floor to
50 miles because that is about what multi-day wilderness backpacking takes.
README, CONTRIBUTING and the tier definitions in docs/schema.md say so now.
The few well-known trails between 60 km and 80 km stay listed as short.
2026-11-10 13:36:12 -07:00
swaits fea96bd9ea Use one attribution wording for every OpenStreetMap line
Validate / validate (push) Canceled after 0s
Nine records added today read differently from the other 39.
Same credit, same words everywhere.
2026-11-09 19:16:43 -07:00
swaits 4eb0786b2b Add OpenStreetMap lines for nine record-only trails
Lines from each trail's OpenStreetMap route relation, with member ways and
nested relations, published under the ODbL: Arizona, Florida, Ice Age, North
Country, Great Divide Trail, Idaho Centennial, Long Path, Mid State and
Superior Hiking. Their publishers' own lines may not be passed on, and without
these four National Scenic Trails the map loses them.
2026-11-09 19:04:40 -07:00
swaits b0eab384d5 Do not write Python bytecode into the tree
Validate / validate (push) Canceled after 0s
validate.py imports build_index.py; stop it creating
tools/__pycache__ and ignore bytecode files.
2026-11-09 16:25:56 -07:00
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
swaits 824cc9d2b5 Add tools and licence texts
validate.py checks every record and the generated files;
build_index.py writes trails.csv, index.geojson and the README
table. Python 3 standard library only. CC0-1.0 for the records
and docs, MIT for the tools, source licences in LICENSES/.
2026-11-09 16:08:44 -07:00
swaits dd0c3ebf8e Add trail data: 64 records, 40 lines
Records, redistributable lines, alternates, logos and release
notes, one directory per trail. Lines keep their source terms;
records name the source and licence for every file.
2026-11-09 16:08:44 -07:00