Classification Surface
POST
/v2/classifyLast modified: 7 months ago
Scope: surface:create
The HexGen™ Surface API is a powerful geospatial aggregation and modeling engine that efficiently processes and combines multiple datasets to generate custom-tailored insights. This API enables users to integrate authoritative data provided by Airspace Link with their own GIS data, creating comprehensive and data-driven solutions. The API simplifies the process of combining and processing large amounts of data, transforming complexity into actionable insights.
Request
Header Params
Content-Type
enum<string>
required
Allowed value:
application/json;charset=UTF-8
Example:
application/json;charset=UTF-8
Authorization
string
required
Authorization bearer accessToken
generated in Authorization step
Example:
{{access-token}}
Body Params application/json
geometry
object
required
coordinates
array [array]
required
type
string
required
layers
array [object {2}]
required
code
string
optional
risk
integer
optional
resolution
integer
required
Example
{
"geometry": {
"coordinates": [
[
[
-83.281174,
42.258
],
[
-83.281174,
42.3121
],
[
-83.218689,
42.3121
],
[
-83.218689,
42.258
],
[
-83.281174,
42.258
]
]
],
"type": "Polygon"
},
"layers": [
{
"code": "uasfm_ceiling",
"risk": 1
}
],
"resolution": 9
}
Request samples
Responses
Happy path desc(200)
Internal error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
bitmaskMap
object
required
hexes
array [object {3}]
required
message
string
required
statusCode
integer
required
Examplepost v2/classify response
{
"data": {
"bitmaskMap": {
"uasfm_ceiling": {
"bitmask": 1,
"risk": 1
}
},
"hexes": [
{
"bitmask": 1,
"index": "892ab2cd8d7ffff",
"risk": 1
}
]
},
"message": "success",
"statusCode": 200
}
Last modified: 7 months ago