F1 Circuits API

Photo picker

A race poster over bg=satellite uses a layout’s picked Wikimedia Commons photo when it has one, and a season poster shows that season’s cars only from a picked photo. This page shows 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. Choosing one 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.

2. What to pick for

Picks of the circuit’s other layouts

Candidates