Ground Hazards

Ground Hazards api gives you list of ground hazards for a given geometry. Ground Hazards includes power pylons, schools, critical infrastructure and much more. Find out more about ground hazards here : https://docs.altitudeangel.com/docs/ground-hazards

Request

POST https://api.altitudeangel.com/v2/mapdata/geojson/groundhazards?iconformat=svg HTTP/1.1
Authorization: X-AA-ApiKey YOUR_API_KEY
Content-Type: application/json
Querystring parameterDescription
iconformat (optional)Preferred format for icons.Supported formats :svg or png.Default format: png

Limits

NameLimit
Max ground area20 sq.km
Max geometry length30km

Supported geometry

Linestring
Polygon

Sample request body

{

        "type": "Polygon",
        "coordinates": [
          [
            [
              -1.0933113098144531,
              50.68444085070797
            ],
            [
              -1.0886764526367188,
              50.67356327992458
            ],
            [
              -1.0732269287109375,
              50.674923114150516
            ],
            [
              -1.0776042938232422,
              50.67916554374105
            ],
            [
              -1.0933113098144531,
              50.68444085070797
            ]
          ]
        ]
  }

Sample response

{
    "isCompleteData": false,
    "excludedData": [],
    "countriesInViewport": [],
    "nationalFlightRestrictions": [],
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "id": "B8226970A448E5778A01DE00F49CDA18DA30EEFA",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -1.0862916112081704,
                    50.681941986091964
                ]
            },
            "properties": {
                "hazardFactor": "40",
                "hazardFactorName": "Warning",
                "fillColor": "#ffbb00",
                "strokeColor": "#b88702",
                "fillOpacity": "0.18",
                "borderWidth": "2",
                "borderOpacity": "0.6",
                "strokeWidth": "1",
                "strokeOpacity": "0.8",
                "detailedCategory": "power:generator",
                "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=power_generator&format=svg",
                "name": "Power Generator",
                "airspaceRegistration": {
                    "navigationUrl": "https://www.altitudeangel.com/register-a-drone-policy"
                },
                "category": "groundHazard",
                "filters": [
                    {
                        "name": "Ground Hazards",
                        "property": "show",
                        "displayName": "Ground Hazards",
                        "active": true
                    }
                ],
                "display": {
                    "category": "Ground Hazard",
                    "detailedCategory": "Power Generator",
                    "title": "Ground Hazard",
                    "sections": [
                        {
                            "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=warning",
                            "title": "Summary",
                            "displayTitle": "Summary",
                            "text": "Yellow zones indicate regions where operation of your drone may raise security, privacy or safety concerns.",
                            "disclaimer": null
                        },
                        {
                            "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=power_generator&format=svg",
                            "title": "Power Hazard",
                            "displayTitle": "Power Hazard",
                            "text": "The highlighted area is believed to contain power infrastructure. Power infrastructure presents heightened risk of damage to your equipment and critical National infrastructure.",
                            "disclaimer": null
                        }
                    ],
                    "actions": []
                }
            }
        },
        {
            "type": "Feature",
            "id": "D29F41CBA480C00C1E670D851E74ED6ADDAF19FB",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -1.0852338075541568,
                    50.680773735050792
                ]
            },
            "properties": {
                "hazardFactor": "40",
                "hazardFactorName": "Warning",
                "fillColor": "#ffbb00",
                "strokeColor": "#b88702",
                "fillOpacity": "0.18",
                "borderWidth": "2",
                "borderOpacity": "0.6",
                "strokeWidth": "1",
                "strokeOpacity": "0.8",
                "detailedCategory": "power:generator",
                "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=power_generator&format=svg",
                "name": "Power Generator",
                "airspaceRegistration": {
                    "navigationUrl": "https://www.altitudeangel.com/register-a-drone-policy"
                },
                "category": "groundHazard",
                "filters": [
                    {
                        "name": "Ground Hazards",
                        "property": "show",
                        "displayName": "Ground Hazards",
                        "active": true
                    }
                ],
                "display": {
                    "category": "Ground Hazard",
                    "detailedCategory": "Power Generator",
                    "title": "Ground Hazard",
                    "sections": [
                        {
                            "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=warning",
                            "title": "Summary",
                            "displayTitle": "Summary",
                            "text": "Yellow zones indicate regions where operation of your drone may raise security, privacy or safety concerns.",
                            "disclaimer": null
                        },
                        {
                            "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=power_generator&format=svg",
                            "title": "Power Hazard",
                            "displayTitle": "Power Hazard",
                            "text": "The highlighted area is believed to contain power infrastructure. Power infrastructure presents heightened risk of damage to your equipment and critical National infrastructure.",
                            "disclaimer": null
                        }
                    ],
                    "actions": []
                }
            }
        },
        {
            "type": "Feature",
            "id": "7C9A8A4B1A6084FEC418398296195E0B9D98CA65",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -1.08525803685127,
                    50.680843353274156
                ]
            },
            "properties": {
                "hazardFactor": "40",
                "hazardFactorName": "Warning",
                "fillColor": "#ffbb00",
                "strokeColor": "#b88702",
                "fillOpacity": "0.18",
                "borderWidth": "2",
                "borderOpacity": "0.6",
                "strokeWidth": "1",
                "strokeOpacity": "0.8",
                "detailedCategory": "power:generator",
                "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=power_generator&format=svg",
                "name": "Power Generator",
                "airspaceRegistration": {
                    "navigationUrl": "https://www.altitudeangel.com/register-a-drone-policy"
                },
                "category": "groundHazard",
                "filters": [
                    {
                        "name": "Ground Hazards",
                        "property": "show",
                        "displayName": "Ground Hazards",
                        "active": true
                    }
                ],
                "display": {
                    "category": "Ground Hazard",
                    "detailedCategory": "Power Generator",
                    "title": "Ground Hazard",
                    "sections": [
                        {
                            "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=warning",
                            "title": "Summary",
                            "displayTitle": "Summary",
                            "text": "Yellow zones indicate regions where operation of your drone may raise security, privacy or safety concerns.",
                            "disclaimer": null
                        },
                        {
                            "iconUrl": "https://api.altitudeangel.com/v1/map/icon?icon=power_generator&format=svg",
                            "title": "Power Hazard",
                            "displayTitle": "Power Hazard",
                            "text": "The highlighted area is believed to contain power infrastructure. Power infrastructure presents heightened risk of damage to your equipment and critical National infrastructure.",
                            "disclaimer": null
                        }
                    ],
                    "actions": []
                }
            }
        }
    ],
    "bbox": [
        -1.0933113098144531,
        50.673563279924579,
        -1.0732269287109375,
        50.684440850707972
    ]
}

Sample limit breached response

{
    "message": "Geometry length must be no longer than 30km."
}