DataTypeOptions

public struct DataTypeOptions : OptionSet, Hashable

SkyPath data types available to be fetched from the server. Only specified type in DataQuery.types will be fetched and stored locally.

  • Turbulence data that can be queried by SkyPath.turbulence(with:) using TurbulenceQuery to receive TurbulenceItem. SkyPath uses H3 hexagonal hierarchical geospatial indexing system with H3 resolution 5 to represent turbulence area by hexagons of different severity levels. SDK handles all work with H3 indexes out of the box so you don’t need to do anything for it on your side.

    Declaration

    Swift

    public static let turbulence: DataTypeOptions
  • Turbulence polygons that can be queried by SkyPath.turbulencePolygons(with:) using TurbulencePolygonsQuery. A planet-wide aggregated turbulence area polygons. Used to show turbulence areas worldwide without fetching too much data.

    Declaration

    Swift

    public static let turbulencePolygons: DataTypeOptions