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>
This commit is contained in:
1 parent
94015cd86b
commit
ae86d5c3cc
186 files changed
+200
-94
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ A route whose author chooses not to publish a track is still added, with no trac
|
||||
To add one:
|
||||
|
||||
1. Create a directory named with a new stable `id`: lower-case words joined by hyphens. It never changes afterwards.
|
||||
2. Write `trail.toml` with every required field in docs/schema.md.
|
||||
2. Write `trail.toml` with every required field in docs/schema.md. Give `short_name` only if the trail's holder or author uses an abbreviation, or hikers commonly do, and put the page where you saw it in `short_name_url`; never make one up.
|
||||
3. Add `line.geojson` only if the track may be shared (see above), plus `release.txt`.
|
||||
For a track from an OpenStreetMap route relation, create the trail directory and `trail.toml` first, then run `python3 tools/osm_track.py RELATION_ID --id TRAIL_ID` (Python standard library only; add `--dry` to print the figures and write nothing). It fetches the relation and its sub-relations through Overpass, writes `line.geojson`, `alternates.geojson` (only when there are side ways) and `release.txt`, and prints the way counts, the measured length in km and the number of parts for `[verification]` and `[osm]`. It will not replace an existing `line.geojson` without `--force`.
|
||||
To point to other good pages about the trail (a wiki or encyclopedia article), add a `[[link]]` table for each; the trail's own page goes in `hike.official_url` instead.
|
||||
|
||||
Reference in new issue
Block a user