For people who are looking for an alternative to VRS or want to host their own website -
Have a look at the Flight Air Map Project on Github
https://github.com/Ysurac/FlightAirMap (https://github.com/Ysurac/FlightAirMap)
or the demo at https://www.flightairmap.fr/ (https://www.flightairmap.fr/)
It is based on the Barrie Spotter project of Mario Truntz.
The Barrie spotter depended on data from Flightaware.
Ysurac has fully extended the Barrie spotter.
It can now access local or remote data feeds and provides flight data and statistics.
As it is an open project you can download it and modify it.
I have it installed and it is working with my Radarcape.
Ysurac is continually working on it and helped me quickly to get my system running.
-------------------------
From Github :
"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.
Flights are displayed on a 2D map that can be from : OpenStreetMap, Mapbox, MapQuest, Yandex, Bing, Google,... Or a 3D map using OpenStreetMap or Bing.
It can be used with Dump1090 or any SBS source. Can also be used with virtual airlines sources like FlightGear, whazzup.txt from IVAO, VATSIM, phpvms, Virtual Airlines Manager,...
It also support glidernet APRS source."
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.1 or greater, MariaDB or PostgreSQL (with PostGIS if you want waypoints, airspace and countries data)
SQLite 3 (if you use ADS-B as datasource)
An HTTP Server such as:
Apache 2.0+
Nginx
--------------------------------------
Installation requires some knowledge of running servers so it is not for the faint hearted.
But if you use a preinstalled package like XAMPP https://www.apachefriends.org/de/index.html (https://www.apachefriends.org/de/index.html) or https://bitnami.com/ (https://bitnami.com/)it is not impossible.
Tried this a while back and couldn't get it to work.Just checked and it was almost a year ago!
Looked interesting so I'll have to give it another go. Particularly now that someone has succeeded.
Got it working, but unfortunately as my laptop is a bit low spec and I've got Spanish broadband :) it's just too slow to be useful. So I'll stick with VRS for the time being, but it does look an excellent project that has the potential to be a VRS beater.
I've got it running on an refurbish HP business desktop which I got cheap on the internet (Win 7 Home Premium - 64bit)
CPU speed is not the main problem but increasing the RAM to 8GB definetely helped stabilise the SQL server
(But I am also running VRS and PP in parallel !!)
THe current version of FlightAirMap only shows aircraft with positions, so it is showing less data than VRS.
But Ysurac has promised an update for next week which should include positionless aircraft.
Some screenshots from my Flight Map.
[Attachment deleted by Admin to save file space]
Still can't get it to work :'(
On Debian 8 server with required extensions to PHP.
During install there is a MySQL error when downloading "airspace" but goes to completion (?) when refreshed.
FlightAirMap starts but the "Aircrafts Detected" just shows the rotating icon - nothing plotted.
Looks like I have other problems since the Search function goes to "search" and not "search.php" - hmmm
But having finally figured out how to keep PHP getting data from the SBS-1, the Statistics are being collected.
But still no plots.
Success!
Figured out that the "Search", etc not going to the correct php file was the problem.
Apache redirection was not working!
"a2enmod rewrite" won't have any effect unless the server configuration file is also set up to allow. In Debian /etc/apache2/apache2.conf was the file I altered.
Have you started the script "daemon-spotter.php" ?
It is in the 'scripts' directory.
This script actually collects the data from your receiver and puts it in the database.
Without it running nothing happens.
I'm running the windows version of XAMPP 7 with Apache and MySQL servers.
I'm trying but this is all I get:
http://gilitadas.com/airmap/
Using WAMP, installation was successful. Any idea?
The parameter $globalURL in script settings.php is probably not set correctly, so FlightMap cannot find the css and other style files.
This parameter must point to the directory which contains the file index.php for the FlightMap site.
HTML looks for all other files relative to this directory.
I had the same problem ;)
On my machine with XAMPP the the index.php is in the folder C:\xampp\htdocs\WebSite\FlightAirMap\index.php
So the $globalURL is "WebSite/FlightAirMap"
The default starting oint of the Apache server is set to C:\xampp\htdocs [XAMPP default value]
You can modify the $globaURL with the install script or directly with a text editor
I agree - that was the screen for my first attempt.
Install script is in FlightAirMap/require and called "settings.php"
As mezoo says, either edit directly or set the 1st variable to FALSE:
$globalInstalled = FALSE;
and run the install file again to make the change in the GUI
Thanks so much you both. Now I see I have some other problems, probably map sources misconfiguration. I'll read a bit more and try again.
Your site is looking better.
But it seems that your receiver is not connected (endlessly turning circle) or the script "daemon-spotter.php" is not running
My "Radarcape" is connected as follows :
Port : 30003
Format : "Auto" or "deltadbtxt"
Your FR24 rcvrs are similar, they only use a different port.
Dont forget to check ADS-B, SBS-1 format !
As a map I use "OpenStreetMap"
To get everything setup you can directly run populate.php which installs and fills all the databases.
This is found in the folder "install"
Or the "update_db.php" in the folder scripts which updates NOTAM, Metar, Routes and updates the statitics
Both take a looooong time for the initial downloads ???
Well... making slow progress... Now I see the map as expected.
Tried with two different sources (both on my LAN): FR24 box (Radarcape) and a S-Beast. When I start up daemon-spotter I get the attached result.
Still no plots: http://gilitadas.com/airmap/
[Attachment deleted by Admin to save file space]
Looking at those error messages, did you enter values for all the latitude and longitude data?
As I recall there is a Max and Min required for each.
Also for the centre of your coverage (home?) and for the location of the receiver.
Quote from: IanH on November 15, 2016, 09:32:32 AM
Looking at those error messages, did you enter values for all the latitude and longitude data?
As I recall there is a Max and Min required for each.
Also for the centre of your coverage (home?) and for the location of the receiver.
Yes, I'll double check it now but I'm pretty sure they all are set. For the default map view and for each of the sources.
I think you are correct - your home location is in Northern Spain on the map and zooming out your target area appears as a pale blue box.
Made me realise mine was wrong. I needed to add minus sign to my western longitude :-[
Although it ran without an error previously.
I've made a minor change in settings.php:
//DAEMON
$globalDaemon = FALSE; // Run cron-sbs.php as daemon (don't work well if source is a real SBS1 device
It was originally set to TRUE, so I tried and now I have the attached output in daemon-spotter.php
Anyway, cron-sbs.php is exactly daemon-spotter.php ¿??¿¿?
Running out of ideas....
[Attachment deleted by Admin to save file space]
just stopped and restarted mine.
It says "Connection in progress to 192.168.207:30003 <sbs>"
Try setting the format to sbs instead of raw or auto
And I found that I needed
$globalDaemon = TRUE; to run daemon-spotter.php
No way, sbs mode for the FR24 box throws garbage everywhere, reconnecting every few seconds.
Now I have only one source: S-Beast serving raw data through PlanePlotter TCP/IP server output (port 30003). It connects Ok but still the same error.
The almost inexistent project documentation does not help a lot.....
Port 30334 on FR24 is beast format, that is not yet supported.
Port 30003 us also available on FR24 box to output sbs
You have to read the scripts to figure all this out :'(
Quote from: IanH on November 15, 2016, 11:23:36 AM
Port 30334 on FR24 is beast format, that is not yet supported.
Port 30003 us also available on FR24 box to output sbs
Done !!! Just a single source now, FR24 box in SBS format on port 30003.
Let's see if I can add now some other sources I have access to.
Thanks so much Ian !!
Try using modesmixer2.
I'm currently plotting the combined output from Piaware ADSB and MLAT into my local FlightAirMap.
That is beast format so a quick
c:\radar\modesmixer2.exe --inConnect 192.168.0.177:30005 --outServer msg:30003
takes the beast data from a Pi and sends out SBS format data. Use that input into FAM
Breitling,
your site is looking well.
Yesterday I learnt that you have to run the update-db.php script to update the stats.
I still have problems with the countries.
The db just contains 23 countries and FAM stats insists that all flights pass over Algeria ;-)
I'll contact Ysurac to ask for help on that.
It also seems to me that if you continue going deeper into the stats things go wrong.
e.g. when I search for all Dreamliners everything seams reasonable until I arrive at airports.
Then the Dreamliners are landing at all local airports in Europe but not in Frankfurt or London.
I just saw that Ysurac has made a fork or special version of dump1090_mutability.
It is however in C code, so you have to compile it yourself.
Not sure if it is still being updated.
As I dont have a compiler I cant test it.
https://github.com/mutability/dump1090 (https://github.com/mutability/dump1090)
Quote from: mezoo on November 15, 2016, 09:00:08 PM
Yesterday I learnt that you have to run the update-db.php script to update the stats.
Yes, I set up to run it hourly with the task manager, so I have METARs updated.
Quote from: mezoo on November 15, 2016, 09:33:13 PM
I just saw that Ysurac has made a fork or special version of dump1090_mutability.
It is however in C code, so you have to compile it yourself.
Not sure if it is still being updated.
As I dont have a compiler I cant test it.
https://github.com/mutability/dump1090 (https://github.com/mutability/dump1090)
Mezoo
there are some screenshots from this special version we can see?
Thanks.
Best regards.
Miguel
Not from me, as I am not using it.
All I know is from the Github listing.
Sorry.
Cancel previous message - found the fork now!
Has anybody managed to setup the use of local photos.
The way I understand it is that you have to setup use the of customsources in the settings.php as follows:
-----------------------------------------------------
// *** Aircraft pics ***
//Retrieve Image from externals sources
$globalAircraftImageFetch = TRUE;
//Sources for Aircraft image
$globalAircraftImageSources = array('customsources','ivaomtl','wikimedia','airportdata','flickr','jetphotos','planepictures','planespotters');
// Custom source configuration {registration} will be replaced by aircraft registration (exif get copyright from exif data for each pic)
// example of config : $globalAircraftImageCustomSources = array('thumbnail' => 'http://pics.myurl.com/thumbnail/{registration}.jpg','original' => 'http://myurl/original/{registration}.jpg','source_website' => 'https://www.myurl.com', 'source' => 'customsite', 'exif' => true);
$globalAircraftImageCustomSources = array('thumbnail' => 'http://192.xxx.yyy.zz/Website/Photo/{registration}.jpg','original' => 'http://192.xxx.yyy.zz/Website/Photo/{registration}.jpg','source_website' => 'http://192.xxx.yyy.zz/Website/Photo/{registration}.jpg', 'source' => 'localhost', 'exif' => FALSE);
----------------------------------
Unfortunatetly this does not work.
I deleted all links in the spotter_image db but after some hours it was full of external links again.
Then I changed some links in the db manually - which worked.
Any ideas ?
I will remove the external links and experiment a bit with different path settings.
Found it - the most stupid of mistakes.
I did not restart the daemon-spotter script :( :( :( :( :(
So it was just using the old settings.
Remember : any changes to settings requires a restart of the daemon-spotter script (which basically does all the work aka the programme)
Now it uses my local thumbnails and only looks for external links when it is not availeble locally. Pretty neat.
Would be great if it would would use local thumbails and external large pictures.
Just to inform you that the development of this web software is continuing.
Ysurac has solved many errors and made many layout changes
Amongst others he has included an accidents and incidents database which is updated daily
A Santa tracker is available in December.
The 3D interface has been updated
In the works is a flight diary - so that you can follow "your" planes
Airlines are now organised by alliance and the possibity to track planes by airline alliance is in the works