Skip to content

Re-sync the CDT and Te Araroa from upstream - #222

Merged
eamon-b merged 1 commit into
mainfrom
chore/resync-upstream-trail-data
Oct 23, 2026
Merged

eamon-b merged 1 commit into
mainfrom
chore/resync-upstream-trail-data

Conversation

@eamon-b

@eamon-b eamon-b commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Pulls in the two upstream QC PRs: eamon-b/te-araroa-data#11 and eamon-b/cdt-data#35.

Te Araroa (te-araroa-data 278b521)

  • 25 renames, mostly macrons checked against the NZ Gazetteer, plus Woolworths, Whanganui, Lakes Edge, Pinewoods (Red Beach TOP 10) and the "Accommodation" spelling. All 25 keep their ids.
  • Camp Stream Hut (w_ccdb38ab) and Tin Hut (Private) (w_5ef17ecb) are retyped campsite → hut. Their data/waypoint-ids.json entries are migrated in this commit, so both keep their ids.
  • Makene Road Campsite's contact address is now labelled Email: rather than Phone:. The trust publishes it in its phone field.
  • Closure notes added for Mangatepopo and Bog Inn; East Ahuriri Hut is noted as derelict.
  • The package bump uses npm 10, and npm@10.8.2 ci --dry-run passes.

CDT (cdt-data 89fbed8)

  • The new cdt.gpx brings the QC renames (Macks Inn, St. Mary, Anaconda Cutoff, Jeffrey City) and upstream's alternates rework since the September sync.
  • Registry: 62 junction/endpoint ids retired, 34 minted, 28 renamed. The live API has no CDT comments (GET /v1/trails/cdt/comments is empty), so nothing is orphaned.
  • The build's five "minted beside a same-type waypoint" warnings are junctions of different alternates meeting at one point (e.g. "Storm Lake Creek Road rejoins" / "Anaconda Cutoff rejoins", 0 m). They are distinct, not duplicates.
  • pois.json is re-placed on the new track with fetch:pois -- cdt --reposition (no network). The build required it.
  • trail.json keeps trail-maps' own fields (country, states, credits). Only the description's decimation figure changes.

Checks

  • build:trails and build:mobile-trails: clean apart from the five junction notes above.
  • Web Vitest: 113 files, 2429 passed, 1 skipped. Lint is clean.
  • After merge: npm run publish:trail-data (cdt and te_araroa changed).

🤖 Generated with Claude Code

Te Araroa takes te-araroa-data 278b521 (eamon-b/te-araroa-data#11): name
and macron fixes, Countdown -> Woolworths, closure notes, Makene Road
Campsite's contact refiled from phone to email, and Camp Stream Hut and
Tin Hut retyped campsite -> hut. Their registry entries are migrated here,
so both keep their ids; the 25 renames keep theirs too.

The CDT takes cdt-data 89fbed8 (eamon-b/cdt-data#35) and the alternates
rework since the September sync. That retires 62 junction and endpoint ids,
mints 34 and renames 28. The CDT has no comments on the live API, so nothing
is orphaned. Its POIs are re-placed on the new track (fetch:pois
--reposition, no network). The five "minted beside" warnings are junctions
of different alternates that meet at one point, not duplicates.

trail.json keeps trail-maps' own fields; only the description's
decimation figure changes (1.06% -> 1.04%).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trail-maps Ready Ready Preview Oct 23, 2026 6:04am UTC

@eamon-b
eamon-b merged commit d2fa541 into main Oct 23, 2026
8 checks passed
@eamon-b
eamon-b deleted the chore/resync-upstream-trail-data branch October 23, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — 4261e015 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant