Draw Madring's track: take upstream's GPS trace instead of a point #10

Merged
mesh-tools merged 4 commits from fix/madring-trace into master 2026-11-30 09:25:42 +00:00
Showing only changes of commit 8834df45e6 - Show all commits
+11 -4
View File
@@ -39,6 +39,10 @@ the 2021–2023 mosaic covers the whole country, and its frozen date range is th
for. EOX's 2016 mosaic (CC BY 4.0) was rejected by the operator: too soft to read a circuit. (EOX's
capabilities also mark 2017 as CC BY 4.0.)
**The traces follow upstream.** A layout's trace is upstream's (bacinger/f1-circuits) newest trace of that
circuit, copied once into the repository word for word, never fetched at run time. A newer upstream trace of a
circuit already drawn is taken as a plain update.
**`bg=satellite`** (and `aerial`, kept for addresses already in use) takes, per layout, the national aerial
photo of the circuit's country, else EOX's newest mosaic. The operator can switch a layout to the dark
OpenStreetMap map, where EOX is too soft to read the circuit: `"use": "map"` in its entry of
@@ -63,7 +67,9 @@ others. Commons: one API request at a time, at most five a second, at most two d
A map is kept only when every tile came and the tiles are not all one picture (a provider's placeholder).
`dark` and `light` are made from the kept OpenStreetMap layer. A layout whose trace is a point or empty is drawn
at the circuit's location, without a track. Layers live in the module's directory `layers`, class `rebuildable`
at the circuit's location, without a track; no current race may draw one, which the merge check holds: every
layout that `find_layout_slug_for_year` chooses for a season from 2020 on has a LineString trace of more than 10
points (`tests/test_traces.py`). Layers live in the module's directory `layers`, class `rebuildable`
(backed up; fetched again if lost).
## Finished images (kept, capped)
@@ -153,6 +159,7 @@ logged when read: an unknown `use`, incomplete photo fields, an entry with neith
## Not in this change
The disk tile store (replaced by kept layers); renaming the service away from "F1"; the four layouts whose trace
is empty or a point, and the Bahrain and Donington traces that sit off their real track (traced separately); the
season photos matched to the operator's curated cars.
The disk tile store (replaced by kept layers); renaming the service away from "F1"; the three layouts whose trace
is empty (Mont-Tremblant 1968-1970, Buddh 2011-2013, Yeongam 2010-2013), Bahrain's trace that sits off its real
track, and Donington's, a copy of Aintree's trace (traced separately); the season photos matched to the
operator's curated cars.