Dead repository. Use the new version AirRadar at [https://github.com/Ysurac/AirRadar].
Barrie Spotter is an open source project documenting most of the aircrafts. 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.
This is a "fork" of Barrie Spotter https://github.com/barriespotter/Web_App with PDO and ADS-B support.
To install the web app which Barrie Spotter runs, you need to have meet the following requirements:
- PHP version 5.2.3 or greater (5.3 or greater is recommended)
- MySQL version 5.0 or greater
- SQLite 3 (if you use ADS-B as datasource)
- An HTTP Server such as:
- Apache 1.3+
- Apache 2.0+
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
Use install/index.php
- Create a mysql database.
- Populate the database with db/*.sql
- supply require/settings.php with your database credentials.
- If you use ADS-B as datasource, supply install/update_db.sh with your database credentials and run it. (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)
You can choose FlightAware OR ADS-B in SBS1 (BaseStation) format.
- get yourself a flightAware api key http://flightaware.com/commercial/flightxml/
- supply require/settings.php with this key
- run cron.php
- You can use dump1090 https://github.com/MalcolmRobb/dump1090 with a RTL dongle
- 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)