Files
tar1090/README-query.md

108 lines
6.4 KiB
Markdown
Raw Normal View History

2021-06-25 10:58:44 +02:00
# Query parameters
2021-06-25 12:20:36 +02:00
- The query parameters are appended to the URL you would normally use for tar1090.
- Before the first query parameter a question mark ? is prepended, for each additional parameter an ampersand & is prepended.
- Example: http://192.168.x.yy/tar1090/?icao=456789&enableLabels&extendedLabels=2&trackLabels&zoom=11&mapDim=0.4
2021-06-25 10:58:44 +02:00
- Some parameters need a value. If no value if passed, the default one is used.
- Some parameters do not take a value. They are active if used in the URL.(hideSideBar, hideButtons, ...).
2021-06-25 12:20:36 +02:00
- Query parameters in tar1090 are not case sensitive.
2021-06-25 10:58:44 +02:00
## Search / filter
- icao=icao - selects and isolates the selected plane(s). Separate multiple with commas.
2021-06-25 12:20:36 +02:00
- noIsolation - show other planes and not only the ones selected by ?icao
- icaoFilter=hex1,hex2,hex3 - Only show the mentioned hex IDs, no other aircraft will ever be displayed
2024-07-20 23:12:45 +02:00
- icaoBlacklist=hex1,hex2,hex3 - Never show the mentioned hex IDs
2021-06-25 12:20:36 +02:00
- reg=registration - Direct link to specific aircraft registration(s). Separate multiple with commas. ?icao is preferred as this option takes longer to load.
- filterAltMin=500 - filter minimum altitute to 500 ft
- filterAltMax=5000 - filter maximum altitute to 5000 ft
2024-12-13 15:44:18 +01:00
- filterCallSign=^(UAL|DAL) - filter callsign to United or Delta. Take care to escape special characters ( %5E(UAL%7CDAL) in this case).
2022-05-17 13:32:05 +02:00
- filterType=B738 - filter to aircraft type code B738 aka 737-800
- filterDescription=L2J - filter aircraft by type description
2024-12-13 15:44:18 +01:00
- filterIcao=^a - filter icao that start with a (escape with %5Ea).
2024-12-13 15:41:05 +01:00
- filterSources=adsb,uat,adsr,mlat,tisb,modeS - filter planes by source type.
- filterDbFlag=military,pia,ladd - filter planes by the db flags.
- sortBy=column - (possible values: icao, flag, flight, registration, aircraft_type, squawk, altitude, speed, vert_rate, distance, track, msgs, seen, rssi, lat, lon, data_source, military, ws, wd, noSort)
- sortByReverse - reverse the sorting specified using sortBy
2024-12-13 15:36:01 +00:00
There is a setting in the webinterface to update the URL according to used filters, this can be simpler than building the query string by hand.
2023-02-17 12:09:17 -05:00
See the main readme for more examples on how to use the filters
2021-06-25 10:58:44 +02:00
2021-07-14 20:54:06 +02:00
## Troubleshooting
- reset - reset page settings
- showerrors - show errors on screen
2021-06-25 10:58:44 +02:00
## Rendering parameters
2021-06-25 12:20:36 +02:00
- zoom=1-20 - set zoom level.
- enableLabels - enable labels on aircraft ("L" button).
- extendedLabels=value - select the labels type ("O" button) / Valid values are 0,1,2.
- trackLabels - enable track labels ("K" button).
2022-08-15 20:36:21 +02:00
- labelsGeom - use geometric altitude in track labels
- geomEGM - show geometric altitudes in EGM96 (MSL) instead of WGS84 (simpler geoid reference)
2021-06-25 12:20:36 +02:00
- noVanish - persistence mode ("P" button).
- scale=0.1-x - overall interface scaling.
- iconScale=0.1-x - scale the aircraft icons. (multiplies with ?scale)
- labelScale=0.1-x - scale the aircraft labels. (multiplies with ?scale)
- tempTrails=value - shows temporary trails for ## seconds of history.
- mapDim=0.1-1.0 - reduce map brightness (negative values increase brightness)
- mapContrast=0.1-1.0 - increase the map contrast (negative values decrease brightness)
- filterMaxRange=value - maximum distance of rendered tracks.
2025-07-16 17:32:58 +00:00
- baseMap=maptype - change the map type (as defined in config.js / layers.js)
- overlays=o1,o2 - add overlay layers separated with comma (see config.js / layers.js)
2021-06-25 12:20:36 +02:00
- mapOrientation=0-360 - normally true north faces up, use this to change which true direction is pointing up.
- monochromeMarkers=xxxxxx - set constant html color for markers (parameter is an hexadecimal color).
- monochromeTracks=xxxxxx - set constant html color for tracks (parameter is an hexadecimal color).
2025-05-05 17:03:53 +00:00
- atcStyle - use a style somewhat like an ATC display
2021-06-25 12:20:36 +02:00
- outlineWidth=value - set width for the for aircraft icons (only works with webGL disabled)
- outlineColor=xxxxxx - set outline color (parameter is an hexadecimal color, only works with webGL disabled)
- sidebarWidth=xxx - size of sidebar in pixels.
- hideSideBar - hides sidebar.
- hideButtons - hides all buttons.
2024-05-02 13:55:20 +02:00
- autoselect - keeps the plane closest to the center of the screen selected, for use with centerReceiver or lockDotCentered
- centerReceiver - center the view on receiver position.
- lockDotCentered - center the view on receiver position and keep it positioned there even when GPS might update it.
2021-06-25 12:20:36 +02:00
- nowebgl - force rendering without WebGL.
- tableInView - button V / only show aircraft in view in the table
2022-08-02 19:58:39 +02:00
- screenshot - For automatic screenshotting, disables updates after the first load of all aircraft in view
- rangeRings=0,1 - 0 or 1 to enable or disable
- altitudeChart=0,1 - 0 or 1 to enable or disable
- SiteLat=45.0 SiteLon=10.0 - Override the receiver location for this visit
2025-08-04 15:01:53 +00:00
- routeDisplay=icao - Comma separated list of what shall be shown, valid values: iata, icao, city
2021-06-25 10:58:44 +02:00
## Toggles
2021-06-25 12:20:36 +02:00
- mil - Military/Interesting.
2022-04-07 16:21:29 +02:00
- tempTrails - enable temporary aircraft trails / tracks.
2021-06-25 12:20:36 +02:00
- mobile - Force mobile view.
- desktop - force desktop view.
- kiosk - force kiosk mode (tempTrails=true / hideButtons=true / userScale=2).
2022-04-07 16:21:29 +02:00
- allTracks - enable tracks as if pressing T
2022-05-29 14:16:06 +02:00
2023-02-17 12:09:17 -05:00
## heatmap / replay (only available with readsb --heatmap parameter)
2022-05-29 14:16:06 +02:00
- replay - replay history of all planes
2025-03-27 21:02:55 +00:00
- replaySpeed - adjust replay speed
- replayPaused - load replay paused
2022-05-29 14:16:06 +02:00
- heatmap - show a heatmap for the last 24h by default (optional: supply the maximum number of dots drawn, default 32000)
- heatDuration - how many hours to show in the heatmap
- heatEnd - how many hours to shift the heatmap time window into the past
- heatAlpha - 0.1 to 1.0 - how transparent the dots will be
- heatRadius - dot size for heatmap
- heatManualRedraw - only redraw dots when pressing r
- heatFilters - significant slowdown / experimental: enable filtering by type code / type description / hex / DB flags / military / registration / country of registration / data source
2022-05-29 14:16:06 +02:00
- realHeat - real heatmap instead of dots
- heatBlur - parameter for realHeat
- heatWeight - parameter for realHeat
2024-07-04 11:18:44 +02:00
## showTrace (only available with readsb globe-history)
- icao=71be20 - select a plane (multiple planes with comma works but is a bit glitchy)
- showTrace=2024-07-04 - show the trace for a particular UTC date (can be selected via the history tab in the aircraft details)
- startTime=08:31:30 - only show data after this UTC time
- endTime=08:38:30 - only show data before this UTC time
- timestamp=1720081992 - show aircraft details for a particular time as an UNIC epoch timestamp (needs to be within the showTrace date) (clicking on the trace will change this in the URL bar)