QueryError

public enum QueryError : SPError

Errors returned when making a data query.

  • Altitude range should be rounded to thousand feet.

    For example, 38000-40000 feet is correct, and 38000-40100 or 38100-40000 is wrong.

    Declaration

    Swift

    case altRangeNotRoundToThousandFeet
  • GeoJSON polygon has too many coordinates.

    Max supported is 250. Simplify the polygon with enough tolerance.

    Declaration

    Swift

    case polygonTooManyCoordinates
  • When SkyPath.dataQuery is not configured properly.

    Check the message for more details.

    Declaration

    Swift

    case dataQueryInvalid(message: String?)
  • Other general error.

    Declaration

    Swift

    case general(error: GeneralError)