Welcome to Radarspotting. Please login or sign up.

April 19, 2024, 09:56:46 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Flight Air Map - Web App

Started by mezoo, November 12, 2016, 04:55:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Breitling

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.

IanH

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.

Breitling

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]

IanH

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

Breitling

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.....

IanH

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  :'(

Breitling

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 !!

IanH

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

mezoo

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.

mezoo

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

Breitling

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.

mt007

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

Mezoo
there are some screenshots from this special version we can see?

Thanks.
Best regards.
Miguel
Miguel Teixeira
Beast user, Ex: SBS1er and RB, PP sharer aH Live Traffic

mezoo

Not from me, as I am not using it.

All I know is from the Github listing.

Sorry.

IanH

#28
Cancel previous message - found the fork now!


mezoo

#29
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.