Map the start and end of trails with no track, with the notice beside it

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-18 16:14:34 -07:00
1 parent a37f375101
commit 3709a9af5f
8 files changed
+309 -78

No files matched your search

+2 -2
View File
@@ -669,12 +669,12 @@ def overview_map(recs, label, *, wide=False, scope="", saved=False):
s = len(sketches)
sentences.append(f'{s} trail{"s" if s != 1 else ""} with no GPX here '
f'{"are" if s != 1 else "is"} shown as a dotted straight line between '
'their start and end, or a ring where only one end is known. '
'their start and end, or a ring for a loop, which starts and ends in one place. '
'That is not the trail&rsquo;s path.')
if saved:
sentences = ["Tracks are simplified for display. Select one for its name.",
"A trail with no GPX here is shown by its start and end only: dots straight from one "
"to the other, or a ring where only one end is known."]
"to the other, or a ring for a loop."]
ids_attr += f' data-drawable="{esc(" ".join(ids))}"'
sentences.append("Each trail&rsquo;s page names its source, credit and licence. "
"Base map: OpenFreeMap, &copy;&nbsp;OpenMapTiles, data &copy;&nbsp;OpenStreetMap contributors.")