Draw a picked photo only with bg=photo, keep bg=satellite to aerial imagery

The operator judged the Commons-photo poster unfit as a default: its crop lands beside the circuit and shows the
track only as an inset. bg=satellite is now the national aerial photo, else EOxCloudless (or the dark map where
"use": "map" is set); the new bg=photo draws the layout's picked photo and without one falls back to what
bg=satellite draws. A picks entry may hold the photo fields, "use": "map", or both; an unknown use and incomplete
photo fields are refused at load. The smallest width is 400 px so the full credit line stays readable, and the
ASCII credit header spells out ß, æ, ø, œ and đ so names stay readable.

Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
2026-11-27 15:18:09 +01:00
parent d514eb57a3
commit 4362e2d10b
7 changed files with 89 additions and 49 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
{
"$comment": "The picked Wikimedia Commons aerial photo per layout (docs/posters.md, Picking photos). Key: the layout's path under circuits/ without extension, country/city/circuit/layout, such as \"belgium/spa/circuit-de-spa-francorchamps/1983-\". Value: {\"file\": the Commons title without \"File:\", \"licence\": its LicenseShortName (CC0, public domain, CC BY or CC BY-SA only), \"author\", \"credit\": \"Photo: <author>, <licence>, via Wikimedia Commons\", \"date\": YYYY[-MM[-DD]]}; or, instead of a photo, {\"use\": \"map\"}: that layout's bg=satellite then draws the dark OpenStreetMap map instead of EOxCloudless (a photo or a national aerial photo still comes first). Written by the picking tool, read by the poster service; a key starting with \"$\" is a note, not a pick."
"$comment": "The picked Wikimedia Commons aerial photo per layout (docs/posters.md, Picking photos). Key: the layout's path under circuits/ without extension, country/city/circuit/layout, such as \"belgium/spa/circuit-de-spa-francorchamps/1983-\". Value: the photo fields {\"file\": the Commons title without \"File:\", \"licence\": its LicenseShortName (CC0, public domain, CC BY or CC BY-SA only), \"author\", \"credit\": \"Photo: <author>, <licence>, via Wikimedia Commons\", \"date\": YYYY[-MM[-DD]]}, which bg=photo draws; \"use\": \"map\", which makes bg=satellite draw the dark OpenStreetMap map instead of EOxCloudless (a national aerial photo still comes first); or both. Written by the picking tool, read by the poster service; a key starting with \"$\" is a note, not a pick."
}