FlightAirMap icon indicating copy to clipboard operation
FlightAirMap copied to clipboard

Support for AirWhere

Open PhilColbert opened this issue 7 years ago • 77 comments

Thank you for taking time to reply to our email - added this to issues as you asked for.

We feed to various other live tracking sites, however 3d would be fantastic !

We have this for the groundstations :-

http://www.airwhere.co.uk/gspositions.php

These for the pilots - its raining here today so no one is flying, the project is mainly UK based but expanding over the world everyday ( updated once a second )

http://www.airwhere.co.uk/pilots.php

And for the pilot details :-

http://www.airwhere.co.uk/pilotdetails.php?pilot=222

However all this can be changed and any format thats required can be made.

All changes that would make - definitely made available, its your project, I would always like to contribute :)

PhilColbert avatar May 16 '17 13:05 PhilColbert

In latest commit there is a beta support of AirWhere source. But need more testing and some config parameters needed are not yet in install script (to display pilots instead of owners). All should be done next week.

The same code will be used for Open Glider Network (glidernet).

Ysurac avatar May 19 '17 20:05 Ysurac

Wow, nice one ! :)

Its it worth installing and trying or wait until next week.

Thanks again, really looking forward to it :)

PhilColbert avatar May 19 '17 20:05 PhilColbert

Wait next week, this will be easier.

Ysurac avatar May 19 '17 20:05 Ysurac

Thanks, do you have a donation paypal or something towards the project ? :)

PhilColbert avatar May 19 '17 20:05 PhilColbert

It's on https://www.flightairmap.fr/ buttons before An application with many features. But wait until next week when you will run it :)

Ysurac avatar May 19 '17 20:05 Ysurac

I have 403 Forbidden You don't have permission to access / on this server. on http://www.airwhere.co.uk/. It's seems my IP is banned.

Ysurac avatar May 22 '17 07:05 Ysurac

Sorry, I just thought someone had left their browser window open for days and days, didnt know it was you testing, will unban again.... its happened a few times.

All done.

Phil

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, May 22, 2017 at 8:42 AM, Ycarus [email protected] wrote:

I have 403 Forbidden You don't have permission to access / on this server. on http://www.airwhere.co.uk/. It's seems my IP is banned.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303023659, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwLKZZQCw10W9tUwo1Iy5sLQxYhYkks5r8TxvgaJpZM4Nchug .

PhilColbert avatar May 22 '17 09:05 PhilColbert

Its been a bad time for testing as its not been flyable for paragliders here !

Hopefully be a better day this week :)

Phil.

On Mon, May 22, 2017 at 10:01 AM, Phil Colbert [email protected] wrote:

Sorry, I just thought someone had left their browser window open for days and days, didnt know it was you testing, will unban again.... its happened a few times.

All done.

Phil

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_-368907217622690793_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Mon, May 22, 2017 at 8:42 AM, Ycarus [email protected] wrote:

I have 403 Forbidden You don't have permission to access / on this server. on http://www.airwhere.co.uk/. It's seems my IP is banned.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303023659, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwLKZZQCw10W9tUwo1Iy5sLQxYhYkks5r8TxvgaJpZM4Nchug .

PhilColbert avatar May 22 '17 09:05 PhilColbert

All should work, even if I don't really had many paragliders to test for now.

Ysurac avatar May 23 '17 07:05 Ysurac

Wow nice one, so whats the best way forward, download the repo and install on my server, how to setup the config for airwhere?

Hopefully we will have a flying day soon to test properly.

Regards

Phil.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, May 23, 2017 at 8:41 AM, Ycarus [email protected] wrote:

All should work, even if I don't really had many paragliders to test for now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303316291, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwGLRtq6f8EWGS5ehIhmzu90op2qVks5r8o2xgaJpZM4Nchug .

PhilColbert avatar May 23 '17 08:05 PhilColbert

Yes, add all dependencies, clone repo, then run install/index.php, this will check if all dependencies are here. As source put airwhere website and format airwhere. For 3D view you need a Bing map key. You can set some configs options like enable checkbox No airlines check and display. Then submit the form, this will download 3D models if enabled, create and populate DB,... You can always go to install/index.php and change some default options, this is also needed when you update FlightAirMap.

Ysurac avatar May 23 '17 08:05 Ysurac

Ok thanks, really appreciate this , so exciting :)

How do we go about adding new models , ie paragliders ? I guess there arent any in there already?

Thanks

Phil.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, May 23, 2017 at 9:17 AM, Ycarus [email protected] wrote:

Yes, add all dependencies, clone repo, then run install/index.php, this will check if all dependencies are here. As source put airwhere website and format airwhere. For 3D view you need a Bing map key. You can set some configs options like enable checkbox No airlines check and display. Then submit the form, this will download 3D models if enabled, create and populate DB,... You can always go to install/index.php and change some default options, this is also needed when you update FlightAirMap.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303325248, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwDs44arK8pt-RqFaPEFnKbG2VB3Vks5r8pYGgaJpZM4Nchug .

PhilColbert avatar May 23 '17 08:05 PhilColbert

I added one.

Ysurac avatar May 23 '17 08:05 Ysurac

Ha, good man!

Just got to build a couple of flight units today for pilots and then will make a start.

Do you fly at all ?

Phil.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, May 23, 2017 at 9:26 AM, Ycarus [email protected] wrote:

I added one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303327715, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwFCr6OiBEdud3XOEXNE-6qhNjAjhks5r8phOgaJpZM4Nchug .

PhilColbert avatar May 23 '17 08:05 PhilColbert

I don't fly at all for now. But I like to track flights.

Ysurac avatar May 23 '17 08:05 Ysurac

Well if your ever in the UK and you would like a tandem cross country flight across some of the most beautiful parts of our country, please come !

You can watch your live 3d flight while your flying on a tablet ? ! :)

Phil.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, May 23, 2017 at 9:33 AM, Ycarus [email protected] wrote:

I don't fly at all for now. But I like to track flights.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303329303, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwNQX0lZew4SKIduK2sY4swu8x-eZks5r8pnHgaJpZM4Nchug .

PhilColbert avatar May 23 '17 08:05 PhilColbert

Should be possible to watch while flying but this will not be exactly real time and need a quite good internet connection to download map or satellite view :)

Ysurac avatar May 23 '17 08:05 Ysurac

I know :) I just thought it would be funny !

I was wondering do you take each tracking point and jump to that point when it arrives or run the system in slight lag and extrapolate points and create a smooth transition ?

Phil.

On Tue, May 23, 2017 at 9:47 AM, Ycarus [email protected] wrote:

Should be possible to watch while flying but this will not be exactly real time and need a quite good internet connection to download map or satellite view :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303332848, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwGLmaUOR0MYKzkTlxoWRGIFHbOVoks5r8p0igaJpZM4Nchug .

PhilColbert avatar May 23 '17 08:05 PhilColbert

I extrapolate. It's why it's not really real time.

Ysurac avatar May 23 '17 09:05 Ysurac

Though so, will get on with it today, thanks again, amazing work!

Phil.

On Tue, May 23, 2017 at 10:02 AM, Ycarus [email protected] wrote:

I extrapolate. It's why it's not really real time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303336523, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwJXgyRwN2-Ft_bTGHcyL77mNh7MBks5r8qCUgaJpZM4Nchug .

PhilColbert avatar May 23 '17 09:05 PhilColbert

Just wondered, I thought you used cesium for 3d tracking ? Not bing ?

Just thought of the cost for bing thats all.

Thanks

Phil.

On Tue, May 23, 2017 at 10:09 AM, Phil Colbert [email protected] wrote:

Though so, will get on with it today, thanks again, amazing work!

Phil.

On Tue, May 23, 2017 at 10:02 AM, Ycarus [email protected] wrote:

I extrapolate. It's why it's not really real time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303336523, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwJXgyRwN2-Ft_bTGHcyL77mNh7MBks5r8qCUgaJpZM4Nchug .

PhilColbert avatar May 23 '17 09:05 PhilColbert

Sorry to keep bothering you but :)

not sure how the $globalSources variable should be setup ?

$globalSources = array(array('host' => 'www.airwhere.co.uk','port' => '80','name' => 'airwhere','format' => 'airwhere','sourcestats' => TRUE,'noarchive' => FALSE));

Thanks

Phil.

On Tue, May 23, 2017 at 10:50 AM, Phil Colbert [email protected] wrote:

Just wondered, I thought you used cesium for 3d tracking ? Not bing ?

Just thought of the cost for bing thats all.

Thanks

Phil.

On Tue, May 23, 2017 at 10:09 AM, Phil Colbert [email protected] wrote:

Though so, will get on with it today, thanks again, amazing work!

Phil.

On Tue, May 23, 2017 at 10:02 AM, Ycarus [email protected] wrote:

I extrapolate. It's why it's not really real time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303336523, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwJXgyRwN2-Ft_bTGHcyL77mNh7MBks5r8qCUgaJpZM4Nchug .

PhilColbert avatar May 23 '17 10:05 PhilColbert

I use Cesium for 3D tracking but Cesium used Bing for some data. Seems to be fixed in latest version. You can try without any key.

Ysurac avatar May 23 '17 10:05 Ysurac

Should be ok. But sourcestats can't really be used because you aggregate ground station result.

Ysurac avatar May 23 '17 10:05 Ysurac

Maps loading ok , but no aircraft being detected and the app isnt reading pilots.php off the server.

http://www.airwhere.co.uk/live-tracking-3d/

Any ideas ?

Thanks

On Tue, May 23, 2017 at 11:26 AM, Ycarus [email protected] wrote:

Should be ok. But sourcestats can't really be used because you aggregate ground station result.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303357199, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwFQzuGjpDWhVTKusMSiVFI-B9kkHks5r8rRYgaJpZM4Nchug .

PhilColbert avatar May 23 '17 10:05 PhilColbert

You need to have the script scripts/daemon-spotter.php running.

Ysurac avatar May 23 '17 10:05 Ysurac

Ok, thanks, didnt know, is there anything else I need to run :)

Ok, its now got 3 aircraft which is correct, does the SCAN MODE and then checks for the 3 aircraft and then

This is repeated many times.

error : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'location_id' in 'where clause'error :

Getting there.. :)

On Tue, May 23, 2017 at 11:32 AM, Ycarus [email protected] wrote:

You need to have the script scripts/daemon-spotter.php running.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303358495, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwPMTHH4CBtuk4BchmEq5WRJfscaAks5r8rXQgaJpZM4Nchug .

PhilColbert avatar May 23 '17 10:05 PhilColbert

  • You need to run scripts/update_db.php at least one time, this will download 3D models. Then you should put it in a cron job to run every day.
  • scripts/daemon-spotter.php must be running as a daemon via init script or as cron job but $globalDaemon have to be set to FALSE.
  • I forget to add the location_id column in sql. Sorry. You have to insert db/source_location.sql again or add a location_id integer column in source_location table.

Ysurac avatar May 23 '17 10:05 Ysurac

$globalMapRefresh is too low, It's updated really too often. It's not needed.

Ysurac avatar May 23 '17 10:05 Ysurac

Ok, I thought this was the timing to update the map with new positions ? 30 then ?

Phil.

On Tue, May 23, 2017 at 11:47 AM, Ycarus [email protected] wrote:

$globalMapRefresh is too low, this update really too often. It's not needed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/296#issuecomment-303361633, or mute the thread https://github.com/notifications/unsubscribe-auth/AREdwC0YrqECcZSx2nfAryuw0GgVBQBUks5r8rldgaJpZM4Nchug .

PhilColbert avatar May 23 '17 10:05 PhilColbert