+
+
+ Poster builder · F1 Circuits API examples
+
+
+
+
+
+
+ F1 Circuits API
+
+
+
+
+
+
Poster builder
+
+ Every poster route takes the same options as query parameters. Tick an option to send it; an option left out takes
+ its default. The address below follows every change, and the picture is rendered only when you press the button,
+ because the server draws it and may fetch map tiles first.
+
+
+
+
1. Which picture
+
+
+
+
+
+
+
+
+
+
+
+
+
+
2. The options
+
An unknown option or value is answered 422, naming it. The credit line is drawn on every picture
+ whatever the options; no option takes it off.
+ Every picture the API makes is drawn from sources whose licences allow keeping a copy, and each says where it comes
+ from: the credit of every source it was made from is drawn at its foot, sent in its X-Credits header,
+ and listed here. A picture’s licence follows its sources, and is sent in its X-License header. Its
+ Link: </licences>; rel="license" header points to this list.
+
+
+
+
The sources
+
What /licences answers, as a table. A credit with <author> and
+ <licence> is filled in with the photo’s own; one with <year> with the mosaic’s
+ year. The last column is the licence a picture made from that source gets.
+
+
+
+ The answer as it came
+
+
+
+
What the API offers, and under which licence
+
+
A race name and its date on a picture are single facts: they do not set its licence. The Kometa
+ file says in its first lines that its race schedules come from Jolpica, under CC BY-NC-SA 4.0.
+
+
+
+
Formula 1
+
This website is unofficial and is not associated in any way with the Formula 1 companies. F1, FORMULA ONE,
+ FORMULA 1, FIA FORMULA ONE WORLD CHAMPIONSHIP, GRAND PRIX and related marks are trade marks of Formula One
+ Licensing B.V.
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/map.html b/examples/map.html
index 9bf9bb5..10c046e 100644
--- a/examples/map.html
+++ b/examples/map.html
@@ -20,8 +20,11 @@
GPS tracesGrand prix lookupPosters
+ Poster builderKometaLibrary
+ Photo picker
+ Licences
@@ -32,7 +35,7 @@
Each layout was traced by GPS along the track. Its geojson format is that trace: a GeoJSON
FeatureCollection holding one LineString of [longitude, latitude] points. Any
map library draws it as it comes; this page uses Leaflet. Switch to the
- satellite layer to see the trace follow the tarmac.
+ satellite layer (EOxCloudless, Sentinel-2 at 10 m) to see the trace over the ground.
+ Per layout, the main choice is what bg=satellite draws: the country’s own aerial photo or
+ EOxCloudless 2025, or the dark map instead. A layout may also have a Wikimedia Commons photo picked for
+ bg=photo, which falls back to what bg=satellite draws while none is picked; a season poster
+ shows that season’s cars only from a picked photo. The photos are the candidates
+ tools/commons_candidates.py found, cropped to the poster’s frame as the service crops them, in natural
+ colour or black and white. Each choice gives the entry to copy into the picks file. The page writes nothing to the
+ server: a pick is a change to the repository.
+
+
+ Only CC0, public domain, CC BY and CC BY-SA files are listed, with Commons’ quality marks first, then size, then
+ landscape. A search also finds ground photos, maps and the odd helicopter, so look at each one before you pick it.
+
+
+
+
1. The lists
+
The candidates come with the site; the picks are read from the repository, beside the page’s folder.
+ Run python3 -m http.server in the working copy and open /examples/picker.html there to
+ have both, or load a picks file from disk below.
/posters/race/{race name}/{season}.png?bg={background}, 1000×1500: the round, the race’s name, the track and its date over a map of the circuit.
+
/posters/race/{race name}/{season}.png?bg={background}, 1000×1500: the round, the race’s name, the track and its date over a map of the circuit. Every other option is on the poster builder.