Add 19 trails and 20 tracks, record stated permission, and remove the C&O Canal Towpath
A deeper, region-by-region search of the web added 14 official trails and 4 routes. The Hoosier Heritage Trail was added at its association's request (issue 2) with the association's own track, shared by written permission. - New licence value `stated-permission`, with the quoted words, who gave them, when and where as fields of the record, shown on the trail page and carried in the GPX description. - Tracks from OpenStreetMap or the Forest Service's open trail data for eleven of the new trails and seven existing ones. `tools/osm_track.py` can join several relations and leave ways out by name. - The C&O Canal Towpath is removed: the rule leaves out canal towpaths. - The Grand Enchantment Trail is recorded as a route by its author, with no track. - Corrections to the Finger Lakes, Ozark Highlands, Eastern Continental and Knobstone records, checked against the pages they cite. - Site: the list pages' own units switch is gone in favour of the header one; the map switch and a swapped length range stay in step with the page. - CHANGELOG.md brought up to date from the site's opening to today. 204 trails: 147 official trails and 57 routes; 126 have a track. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
c11a72a7dd
commit
d34a9617cd
127 files changed
+2612
-358
No files matched your search
+3
-1
@@ -218,7 +218,9 @@ def build_trail(rec, out_dir, code_mtime, force, stats):
|
||||
stats.processed += 1
|
||||
gpx_args = dict(url=src.get("url", ""), attribution=src.get("attribution", ""),
|
||||
licence=src.get("licence", ""), licence_text=src.get("licence_text", ""),
|
||||
creator=gpx_creator())
|
||||
creator=gpx_creator(),
|
||||
permission=({k: src[k] for k in ("permission_quote", "permission_by", "permission_date", "permission_url")
|
||||
if k in src} if src.get("licence") == "stated-permission" else None))
|
||||
maps = []
|
||||
if "line" in files:
|
||||
built = build_set(tid, "line", os.path.join(ROOT, files["line"]), tid,
|
||||
|
||||
Reference in new issue
Block a user