Task data interface

Home

JSON object structure

root

Field Type
type enum ["RT" or "AAT"]
points array of points

points

Field Type Required
type enum ["Next", "Symmetric", "Cylinder", "AAT Sector", "Line"] Always
name string Always
altitude decimal (metres) Always
lat decimal deg Always
lng decimal deg Always
radius decimal (metres) Always
angle integer Only for "Next", "Symmetric", "Line"
cylinder decimal (metres) Only for "Symmetric"
startAngle integer Only for "AAT Sector"
stopAngle integer Only for "AAT Sector"

Examples

Fixed task:

{
    "type": "RT",
    "points": [
        {
            "type": "Next",
            "name": "BASingstoke",
            "altitude": 106.98480224609,
            "lat": 51.25803230567,
            "lng": -1.0648833742742,
            "radius": 5000,
            "angle": 90
        },
        {
            "type": "Symmetric",
            "name": "PEWsey",
            "altitude": 128.01600646973,
            "lat": 51.342634443824,
            "lng": -1.7702500299095,
            "radius": 10000,
            "cylinder": 500,
            "angle": 180
        },
        {
            "type": "Symmetric",
            "name": "DIDcot",
            "altitude": 57.911998748779,
            "lat": 51.621616935567,
            "lng": -1.2609666861227,
            "radius": 10000,
            "angle": 180
        },
        {
            "type": "Symmetric",
            "name": "SHV-Shrivenham N",
            "altitude": 102.10800170898,
            "lat": 51.615565387963,
            "lng": -1.6365833345741,
            "radius": 10000,
            "angle": 180
        },
        {
            "type": "Symmetric",
            "name": "LA5-Lasham West",
            "altitude": 167.03039550781,
            "lat": 51.184966357023,
            "lng": -1.1060000458606,
            "radius": 20000,
            "angle": 90
        },
        {
            "type": "Cylinder",
            "name": "ARP-Airfield Reference Point",
            "altitude": 188.36639404297,
            "lat": 51.186667074126,
            "lng": -1.0319999621237,
            "radius": 3000
        }
    ]
}

Area task:

{
    "type": "AAT",
    "points": [
        {
            "type": "Next",
            "name": "Leighton Buzzard NE",
            "altitude": 100.88880157471,
            "lat": 51.933999052352,
            "lng": -0.63533331098063,
            "radius": 5000,
            "angle": 90
        },
        {
            "type": "AAT Sector",
            "name": "Grafham Water",
            "altitude": 60.959999084473,
            "lat": 52.289783606218,
            "lng": -0.28631667416933,
            "radius": 60000,
            "startAngle": 71,
            "stopAngle": 23
        },
        {
            "type": "Cylinder",
            "name": "Olney",
            "altitude": 49.072799682617,
            "lat": 52.149850105598,
            "lng": -0.70101667890769,
            "radius": 6000
        },
        {
            "type": "AAT Sector",
            "name": "Banbury",
            "altitude": 93.878402709961,
            "lat": 52.072583590612,
            "lng": -1.3130666220597,
            "radius": 100000,
            "startAngle": 288,
            "stopAngle": 258
        },
        {
            "type": "Cylinder",
            "name": "Stony Stratford",
            "altitude": 128.01600646973,
            "lat": 52.066368118468,
            "lng": -0.86953334726607,
            "radius": 8000
        },
        {
            "type": "Line",
            "name": "Dunstable Airfield",
            "altitude": 149.35200500488,
            "lat": 51.871731632784,
            "lng": -0.55123335181279,
            "radius": 1500,
            "angle": 125
        }
    ]
}