Repository navigation
Say what each resupply point sells - #13
Merged
Merged
Conversation
Every point in data/resupply.json now carries a required `store`: full, limited, meals or none. `type` (town/resupply/food) only hinted at it, and could not tell a box-only stop like Boyle Village from a café. The build refuses a point without a valid value and publishes it as <tn:store> in the same extensions block as acceptsBoxes, on both the place and its turnoff. Stats gain byStore and boxOnly, and the README counts come from them. South Island values follow the owner's hand-made planner; the North Island and Picton are classified from each point's notes and want checking. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Where the hand-made planner contradicts a point's own notes, the notes
win:
- Havelock: full -> limited ("Small Four Square").
- Lake Hāwea: limited -> full (FreshChoice on Bodkin St).
- Boyle Village: none -> meals (the centre holds boxes and "sells
basic food").
Bluff and Hanmer Springs, a town whose only shop is a Four Square, stay
full, the same as Waipu and Bulls. The README now gets "1 sells" right.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Havelock: limited -> full. The small Four Square is what most walkers stock the Richmond Range carry from. - Boyle Village: meals -> limited. The centre's shop carries freeze-dried meals, pasta, rice and oats: a top-up, not a resupply. It still takes boxes. Rewrites the notes for Lake Hāwea (FreshChoice opened Oct 2024; the store was Sailz), Hanmer Springs (Four Square plus the Foodway superette), Boyle Village (what the shop stocks, parcel and bed prices) and Havelock, and cites the three new sources. The Hanmer Springs turnoff now appears in the gpx-tools resupply datasheets, as the Nelson and Arthur's Pass turnoffs already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
eamon-b
force-pushed
the
feat/store-type
branch
from
October 25, 2026 08:55
009eb76 to
f0cbca0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a structured
storefield to every resupply point indata/resupply.json(full|limited|meals|none), emitted as<tn:store>beside<tn:acceptsBoxes>, withstats.resupply.byStoreandboxOnlyinmeta.json.Consumed by trail-maps' resupply planner (eamon-b/trail-maps#236).
🤖 Generated with Claude Code