Region
Regions define political or geographical groupings of countries or territories.
For example, the European Union is defined as a list of countries, while Europe is defined geographically by a series of polygons.
There is one special region that includes all countries in the world and has special AID
RGN-WRLD-WIDE
The Region object includes the following properties:
Property | Type | Description |
---|---|---|
aid | string | The aviowiki ID for this Region, with naspace RGN |
name | string | The name assigned to the Region. |
countries | list, null | A list of Countries that are included in the Region.
null indicates that the Region is not defined by any Country. |
multipolygon | list, null | A list of polygons, that are on their own a list of Coordinates that define the vertices of the polygon.
null indicates that the Region is not defined by any polygon. |
For example
{
"aid": "RGN-DOCS-TEST",
"name": "Test Region",
"countries": [
{
"iso2": "FO",
"iso3": "FRO",
"isoNumeric": 234,
"name": "Faroe Islands",
"officialName": null,
"localIdentifierName": null
}
],
"multipolygon": [
[
[
3.7792969,
80.9491884
],
[
41.0449219,
80.9422728
],
[
18.984375,
73.4033377
]
]
]
}
Represents a Region that includes Faroes Islands as a Country, and Svalbard as a geographical area enclosed in a triangle.
Last modified 1yr ago