skytracker.services.state.get_nearby#

async skytracker.services.state.get_nearby(storage: Storage, lat: float, lon: float, radius: float, limit: int) list[MapState]#

Get list of aircraft states close to a specified location

Parameters:
  • storage (Storage) – backend storage manager

  • lat (float) – latitude [deg]

  • lon (float) – longitude [deg]

  • radius (float) – distance from point to search in [km]

  • limit (int) – maximum number of states to get (0=all)

Returns:

list of aircraft near specified point

Return type:

list[MapState]