FlightAirMap
FlightAirMap is a fork of Barrie Spotter https://github.com/barriespotter/Web_App with map, airspaces, METAR, PDO and ADS-B support. Browse through the data based on a particular aircraft, airline or airport to search through the database. See extensive statistics such as most common aircraft type, airline, departure & arrival airport and busiest time of the day, or just explore flights.
It can be used with Dump1090 or any SBS source. Can also be used with IVAO sources like whazzup.txt, phpvms,...
It also support glidernet APRS source.
Demo
- From ADS-B : https://www.flightairmap.fr/
- From IVAO : https://ivao.flightairmap.fr/
- From VATSIM : https://vatsim.flightairmap.fr/
System Requirements
To install the web app, you need to have meet the following requirements:
- PHP version 5.4 or greater
- MySQL version 5.6 or greater (or MariaDB)
- SQLite 3 (if you use ADS-B as datasource)
- An HTTP Server such as:
- Apache 2.0+
- Nginx (include install/flightairmap-nginx-conf.include in server part of the config)
Required Extensions
The follwing is a list of PHP extensions that must be installed on your server in order for this web app to run properly:
- cURL http://php.net/curl which is used to access remote sites.
- PDO http://php.net/pdo with MySQL driver is required for database access (Maybe other databases work too, not tested). SQLite driver needed for SBS.
- JSON http://php.net/json
- ZIP http://php.net/zip needed for SBS.
- DOM http://php.net/dom
- SimpleXML http://php.net/simplexml
Install
Web install/Update
(This is the recommanded way to install)
Use install/index.php
Console install
- Create a mysql database.
- Populate the database with db/*.sql
- supply require/settings.php with your database credentials.
- run install/populate_all.php (You should go to http://www.virtualradarserver.co.uk/ and http://pp-sqb.mantma.co.uk/ to read the licences. If you find databases with better licences contact me) or install/populate_ivao.php if you use IVAO as datasource
Data Sources
You can choose FlightAware OR ADS-B in SBS1 (BaseStation) format AND/OR ACARS from acarsdec. (FlightAware is no more tested, I don't have a paid API account)
FlightAware Api Key
- get yourself a flightAware api key http://flightaware.com/commercial/flightxml/
- supply require/settings.php with this key
- run cron.php
ADS-B (real flights)
- You can use dump1090 https://github.com/mutability/dump1090 with a RTL dongle, Radarcape deltadb.txt or aircraftlist.json, or wazzup file, or /action.php/acars/data of phpvms...
- run cron-sbs.php (The name is not really good, this should be run one time like a daemon, use a init script or screen)
ACARS (only messages from real flights)
- You have to use acarsdec http://sourceforge.net/projects/acarsdec/ : acarsdec -N 127.0.0.1:9999 -r 0 131.525 131.550 131.725
- run cron-acars.php (also a daemon)
APRS (real flights)
- You can user APRS server from glidernet like aprs.glidernet.org:10152
IVAO (virtual flights)
- You can use as source a whazzup.txt file like : http://api.ivao.aero/getdata/whazzup/whazzup.txt
VATSIM (virtual flights)
- You can use as source a vatsim-data.txt file like : http://info.vroute.net/vatsim-data.txt