{
    "circuit": {
        "slug": "donington-park",
        "name": "Donington Park"
    },
    "licence": {
        "name": "Open Database Licence 1.0",
        "url": "https://opendatacommons.org/licenses/odbl/1-0/"
    },
    "attribution": "© OpenStreetMap contributors",
    "source": "OpenStreetMap, through the Overpass API",
    "box": {
        "south": 52.808116,
        "west": -1.415456,
        "north": 52.8515,
        "east": -1.343652
    },
    "start_finish": {
        "latitude": 52.829808,
        "longitude": -1.379554
    },
    "fetched_at": "2026-11-17T13:41:25+00:00",
    "ways": [
        {
            "id": 27131003,
            "version": null
        },
        {
            "id": 28381201,
            "version": null
        },
        {
            "id": 90102729,
            "version": null
        },
        {
            "id": 90102737,
            "version": null
        },
        {
            "id": 242867013,
            "version": null
        },
        {
            "id": 841515305,
            "version": null
        },
        {
            "id": 841515306,
            "version": null
        },
        {
            "id": 841515314,
            "version": null
        },
        {
            "id": 841515315,
            "version": null
        },
        {
            "id": 841515319,
            "version": null
        },
        {
            "id": 841515320,
            "version": null
        },
        {
            "id": 841515321,
            "version": null
        },
        {
            "id": 841515324,
            "version": null
        },
        {
            "id": 841515325,
            "version": null
        },
        {
            "id": 841515326,
            "version": null
        },
        {
            "id": 841515342,
            "version": null
        },
        {
            "id": 841515343,
            "version": null
        },
        {
            "id": 842454041,
            "version": null
        },
        {
            "id": 842454046,
            "version": null
        },
        {
            "id": 842454048,
            "version": null
        }
    ],
    "reproducible": false,
    "not_reproducible_because": "A version of a way, or the date it was fetched, was not stored when the outline was made, so the ways cannot yet be matched to what OpenStreetMap holds today. The joined outline as GeoJSON is sent to anyone who asks at hello@apexscout.app.",
    "join": {
        "method": "OsmRacewayLoop",
        "ways_chosen": false,
        "direction": "clockwise",
        "official_length_metres": 4020,
        "steps": [
            "Take the OpenStreetMap ways tagged highway=raceway in the box, as OpenStreetMap held them on \"fetched_at\" (the Overpass API with the date setting [date:\"<fetched_at>\"], with the geometry of each way). They are the ways listed in \"ways\", at the versions given there.",
            "Keep the ways that are the lap. Leave out a pit lane (service=pit_lane or raceway=pit_lane), an area (area=yes), a way named for the pits, a bypass, a long lap, a kart track or a rally track, and a way for another sport than motor racing.",
            "Make every point a node of a graph. Points within 1 m of each other are one node, and only the distance counts. Cut every way at each node it shares with another way or with itself.",
            "A way tagged oneway (yes, true or 1, or -1 for against the way it is drawn) is an edge that runs one way round only. Any other way is an edge that runs both ways. Join each run of edges through nodes that only join two of them into one edge.",
            "From each edge that passes within 200 m of the start/finish (or the nearest edge when none does), find every simple cycle through it, one that visits no node twice. Follow no lap longer than twice the official length. A cycle may close on a gap of at most 30 m, only from its last node back to its first.",
            "Keep the cycle whose length is nearest the official length. Of two within 1 m of each other, keep the one with fewer edges, then the one through the edge nearer the start/finish.",
            "Turn the line to the official direction of travel, clockwise as seen from above with north up, and rotate it to begin at the point of the line nearest the official start/finish."
        ]
    },
    "finder": {
        "ways": [
            {
                "id": 27131003,
                "version": null
            },
            {
                "id": 28381201,
                "version": null
            },
            {
                "id": 90102729,
                "version": null
            },
            {
                "id": 242867013,
                "version": null
            },
            {
                "id": 841515305,
                "version": null
            },
            {
                "id": 841515306,
                "version": null
            },
            {
                "id": 841515314,
                "version": null
            },
            {
                "id": 841515315,
                "version": null
            },
            {
                "id": 841515319,
                "version": null
            },
            {
                "id": 841515320,
                "version": null
            },
            {
                "id": 841515321,
                "version": null
            },
            {
                "id": 841515324,
                "version": null
            },
            {
                "id": 841515325,
                "version": null
            },
            {
                "id": 841515326,
                "version": null
            },
            {
                "id": 841515342,
                "version": null
            },
            {
                "id": 841515343,
                "version": null
            },
            {
                "id": 842454041,
                "version": null
            },
            {
                "id": 842454046,
                "version": null
            },
            {
                "id": 842454048,
                "version": null
            }
        ],
        "reproducible": false,
        "not_reproducible_because": "A version of a way, or the date it was fetched, was not stored when the outline was made, so the ways cannot yet be matched to what OpenStreetMap holds today. The joined outline as GeoJSON is sent to anyone who asks at hello@apexscout.app.",
        "join": {
            "method": "CircuitOutline",
            "steps": [
                "The ways listed in \"ways\" are the OpenStreetMap ways tagged highway=raceway that were stored for the Circuit, as the Overpass API gave them with their geometry, after leaving out a pit lane (service=pit_lane or raceway=pit_lane), an area (area=yes), a way named for a pit lane, a bypass, a go-kart or a rally track, and a way for another sport than motor racing. Take exactly those ways, by their ids, with their geometry, as they were on \"fetched_at\".",
                "Put every point on a plane: x is its longitude times the cosine of the mean latitude of all the points of all the ways, and y is minus its latitude.",
                "Fit the points into a box 1000 units on its longer side, keeping the shape and the north up, and round each coordinate to a whole unit.",
                "Keep every Nth point of each way, and always its last, where N is the number of points of all the ways divided by 400, rounded up. Draw each way as its own line, in the order listed."
            ]
        }
    },
    "geojson_on_request": "hello@apexscout.app"
}