Planes overhead card

Aircraft near the screen: the nearest flight's callsign, route, altitude, speed and distance, a bearing dial of everything in range and a list of the next flights.

Category: Public information. Tags: Transit and travel, Weather and environment, Lobbies and reception.

Previews

Planes overhead
Canvas
Planes overhead
Corner
Planes overhead
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

Feed: screenrig.aircraft/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Properties

For theme, background, accent and position, see Common properties.

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Planes overhead"maxLength: 40
maxDistanceKminteger30minimum: 2; maximum: 300Aircraft farther than this are left out; it is also the dial's outer ring.
countinteger6minimum: 3; maximum: 12Most aircraft in the list beside the nearest.
unitsstring"metric""metric", "imperial", "aviation"metric: km, m, km/h. imperial: mi, ft, mph. aviation: nm, ft, kt.
staleMinutesinteger5minimum: 1; maximum: 1440
hour12booleanfalse

Dynamic properties

NameTypeDefaultValues and limitsDescription
aircraftarray[]minItems: 0; maxItems: 100Aircraft near the screen. A feed (screenrig.aircraft/v1) wins when present; the data store supplies the same rows otherwise.
aircraft[].idstringmaxLength: 40
aircraft[].callsignstringminLength: 1; maxLength: 12; Required
aircraft[].registrationstringmaxLength: 12
aircraft[].typestringmaxLength: 40Aircraft type, for example Boeing 787-9.
aircraft[].operatorstringmaxLength: 60
aircraft[].fromstringmaxLength: 8Origin airport code.
aircraft[].tostringmaxLength: 8Destination airport code.
aircraft[].fromCitystringmaxLength: 40
aircraft[].toCitystringmaxLength: 40
aircraft[].altitudeFtnumberminimum: -1500; maximum: 70000
aircraft[].speedKtnumberminimum: 0; maximum: 2000
aircraft[].headingDegnumberminimum: 0; maximum: 360
aircraft[].bearingDegnumberminimum: 0; maximum: 360Bearing from the screen to the aircraft.
aircraft[].distanceKmnumberminimum: 0; maximum: 1000Ground distance from the screen.
aircraft[].verticalFpmnumberminimum: -10000; maximum: 10000
aircraft[].onGroundbooleanfalse
updatedstring""maxLength: 32When the positions were fetched, ISO 8601 (data store only; a feed carries fetchedAt).

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "planes-overhead",
  "primitive": "card",
  "card": "planes-overhead",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "planes-overhead-main"
}

Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.

curl --request PUT "https://api.screenrig.ai/api/card-data/planes-overhead-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"aircraft":[],"updated":""}}'