A history entry that named more than eight places (the Pacific Crest Trail's named 53) now says
how many parks, ranges and wilderness areas were placed and that they are listed in the record.
place_trails.py writes the same form for new entries.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The deny-list in tools/place_trails.py now names, with a reason beside each, the Longfellow
Mountains, Finger Lakes, Gore Range, Mosquito Range, Great Western Divide and Russian
Wilderness. They are removed from places.toml and from every record that named them, history
entries included, so nothing is left to link to. A range that holds exactly the trails of a park
and shares its name stem (Great Smoky Mountains and Great Smoky Mountains National Park,
Olympic Mountains and Olympic National Park) now gets no page either, in the tool and in the
builder, and is removed from records the same way.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A new registry range, white-mountains-arizona, shown as White Mountains, in Arizona. The
validator now fails a record whose place's where shares no state or province with the
record's regions, and place_trails.py no longer places a trail in a place outside its regions.
The rule also caught the Hot Springs Trail (Nevada missing from its regions) and the North
Boundary Trail (British Columbia missing), which now list those regions, and the Sentier
international des Appalaches, whose track carries the Maine IAT into Katahdin Woods and Waters:
that placement is removed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
93 trails are placed in 101 more places by pages that name the trail in them; the other 6 are
marked checked and in no place. Places the source outlines do not hold are left out.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Measured by tools/place_trails.py against the NPS, Wilderness Connect, CPCAD and GMBA
outlines: 260 places in places.toml and a [[place]] table, places_checked, places_track and
one history entry on each record that has a place. Trails with no track are left for a
person to place.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Records never store parents, so apply left Rocky Mountains and the other great systems out
of places.toml while a child's within named them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Gaspésie came out as gasp-sie, Lion's Head as lion-s-head and Forks of The Credit kept a
capital T.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
GMBA draws the Adirondacks by relief and its outline stops about 21 km east of Cranberry
Lake, so the 80 km Cranberry Lake 50 loop, inside the Adirondack Park, was in no range.
The cause is the source's outline, not the trail: an allow-list entry can now push a
range's outline out (grow_km, with grow_clip to keep it off ground it should not reach),
and the Adirondack Mountains use it so the loop is placed without a rule for one trail.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The 25 ranges the first run's digest kept, plus the named ranges whatever their tracked
count (trails with no track will be added to them by hand): Wind River, Teton, Uinta,
Wasatch, San Juan, Sawtooth, Beartooth, Absaroka, Bitterroot, Great Smoky Mountains,
Canadian Rockies, Olympic, White Mountains, Bighorn, Sangre de Cristo, Wallowa, Ruby,
Trinity Alps, Selkirk, Brooks, Alaska Range, Ouachita and Catskill. The source has no Ozark
Mountains (only the Ozark Plateau), so that one is left out. A range's within names its
great system only, so at most two kept levels apply to a trail. Sequoia and Kings Canyon
are joined again and Glacier gets the slug glacier.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The first run filtered CPCAD to LOC IN (1,2), so Ontario (LOC 9) and Quebec (LOC 11)
parks never came back: a bug in the query, not a gap in the data. The query now
selects by park designation across all locations, adds National Park Reserve, and
reads each park's province from LOC.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
NPS writes MO-IL, ID-MT-WY and TN-NC, and the old split on commas and slashes
dropped those places' states.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
When a wilderness area and a national park hold exactly the same trails and one
name's words contain the other's, only the park is kept, so Sequoia and Kings
Canyon and Yosemite do not get two pages. The rule runs on the tracked sets in
propose and on every record's tracked and stated places in --check.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The range source lists six ranges twice under different ids (Mount Whitney Group,
Palisades, Southern Adirondacks and others). They are now one place with both ids
and the union of the two outlines, so no slug carries a numeric suffix.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A registry entry's where now comes from the outline's own source (the NPS and
Wilderness Connect state field, the CPCAD province code), else from the state
boxes in web/place-bounds.toml, else a hand value in the allow-list. A reviewed
where already in places.toml is kept on a re-run.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Up to ten trails the link stays ?t=id,id,... With more it is a version
character and a base64url bit set over the trails' permanent numbers
(trail-numbers.txt), 70 characters for any list instead of 1,013 for 49
trails. Both forms open for good; ?s= wins when both are there; a retired
or unknown number is ignored and a code that cannot be read shows the page's
existing no-trails state. A short link does not keep the order saved, so
that list opens A to Z.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Saved page's short links will be bit sets over these numbers, so a number
must never change or be reused. The registry is one id per line, seeded
alphabetically; build_index appends new records; the validator fails on a
record with no line, a repeated id or a malformed line; check_history fails
when an earlier line is changed, moved or removed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Choosing it asks the browser for the visitor's position once and orders the list by straight-line
distance to the nearest point of each trail's track on the overview map (or its start and end,
where it has no track), shown on each row in miles or kilometres. The position stays in the page:
it is not stored, sent or put in the address. Trails with no position go last and are counted;
a refused or failed request puts the list back in its earlier order with a plain line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Each row's search words come in four tiers (name and abbreviation, author, the full names of
the states, provinces and countries plus where it starts and ends and the land unit or body its
record names, and the summary). Typed words match at the start of words in any order, without
regard to case, accents or apostrophes, and the strongest matches come first. A row that matched
only beyond its name says where in one quiet line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The loop is 57.3 km in 1 part from the Park Atlas Rae Lakes Loop layer, public
domain; the 3.0 km stem from Road's End is kept in the alternates. Bartram,
Bay Circuit and Western Uplands were checked against public layers and left
unchanged.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The High Sierra Trail runs from Crescent Meadow to Whitney Portal, 105.7 km,
from the Park Service's High Sierra Trail layer and the Forest Service's Mount
Whitney Trail, both public domain. The Highline Trail is OpenStreetMap
relation 4188405, 93.2 km in one piece, where the Forest Service layer held
71.5 km in 3 parts.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
12 ways (10.4 km) and 25 ways (11.7 km) that the old rule had put in alternates
are main-line ways joining parts of each track: 2,358.7 km in 28 parts and
470.5 km in 18 parts.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
OpenStreetMap's wiki gives the role route as the old name of the empty role,
along with the cardinal-direction roles. The tool treated every role outside
its two lists as a side trail, which dropped 36 of the 49 ways of the Teton
Crest Trail relation. Roles the wiki does not define now stop the run, unless
every member has the same one, so no ways are dropped without a message.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Gila loop's chosen start is removed: the Forest Service names none.
The "under review" sentence is no longer accepted by the data check.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The track is 58.7 km from Phillips Pass to String Lake, built from the
National Park Service public trails data and the Forest Service national
forest trails data (both public domain): the stretches the agencies label
Teton Crest Trail, joined along the Park Service's route by the trails that
carry local names in the Park Service layer. The record's length is now the
Park Service's 39 miles (63 km).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The group crumb on a trail page went to an anchor on the places index;
it now goes to /regions/<group>/, as the state and province pages do.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
fitToVisible compared the whole list of a place page (every trail there, drawn
or not) with the drawn trails the page opened on, found them different, and
fitted the map to the extent of the visible tracks: the American Discovery
Trail's. Only trails with geometry now count on a place page (data-place).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Utah's map opened on the whole country because the American Discovery Trail
crosses it. Every state, province and group page now opens on its own box
(web/place-bounds.toml, Natural Earth, public domain); tracks that run past it
are still drawn in full and leave the opening view.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The previous push reworded ten history entries on the owner's ruling, which
the append-only history check refuses by design, so it did not deploy. This
commit changes nothing and lets the checks pass against it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A trail's length is the whole distance walked. Records no longer state a
figure with repeated ground taken out; notes say which stretch is walked
out and back. The floor test stays in the rules as an inclusion measure,
and the working figures move to the maintainers' notes. Ten history
entries written earlier today are reworded to drop the same figures.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The Selway River Trail (50 mi), the Silver Moccasin Trail (51 mi) and the
Wind River Highline Trail (64 mi) are new. The rules now say the five days
count only for hard or cross-country routes, that a named trail with its
own published length is listed even on a longer listed trail, and that a
loop reached by a stem shows its published figure while the floor is
tested on distinct miles. The Skyline Trail in the Pecos Wilderness waits
on a fire closure.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Ptarmigan-Glenns Lake-Highline Loop (52 mi), Rutherford Lake Loop (71.5),
Deadman and Cloud Canyons (113.4), South Lake to North Lake (55.0),
Milestone Basin and the Upper Kern (55.6), Eagle Cap Traverse (54.7) and
Gospel Hump Loop (68). No tracks; start and end points from OpenStreetMap
where the named trailhead is mapped.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>