anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Plotting on google maps - my site  (Read 6465 times)

0 Members and 1 Guest are viewing this topic.

gleff

  • Full Member
  • ***
  • Posts: 111
Plotting on google maps - my site
« on: April 02, 2010, 03:38:01 PM »
Hi all,

For a while now I've wanted to plot aircraft on google maps.

I've been working on a little project which still has a long way to go but thought i'd show what i've done so far.

The data is currently updated every 20 seconds.  This may change depending on load on the servers.  I'm hoping I won't need to though.

Also, for the next 3.5 hours, Sydney has a flight curfew (it's 2:30am at the moment and the curfew is in place every night between 11pm-6am).  While the curfew is in place and so I can show what the site does, I'm using a 3.2 minute loop of aircraft data from sbssim.

I'll be adding a fair amount of functionality including plotting all aircraft at once, a custom icon for the aircraft rather than the standard google maps icon.  An info balloon, etc.

You'll also notice the following:

- Some photo's don't change (This is because I will be adding new photo's over time, once I get the permissions from the photographers and I have the time to do it).

- The About Flighttracker tab just has crap text at the moment.  This will eventually be replaced by more tabs and adding some html etc

-While the 5 aircraft in the loop don't have a squawk code, when it has live aircraft (after the curfew), squawk codes will appear.  I also have conditional statements that will blink the squawk in the event it's 7500, 7600, or 7700 (never actually seen one though).

Anyway, have a look and let me know what you think so far.  Just bare in mind it's a work in progress.

http://www.flighttracker.gleff.com

Geoff

Edit:  It's now after 6am so it's live data.
« Last Edit: April 02, 2010, 07:09:05 PM by gleff »
http://www.flighttracker.gleff.com - based in Sydney, Australia

pjm

  • RadarBox Beta Testers
  • Sr. Member
  • *
  • Posts: 477
Re: Plotting on google maps - my site
« Reply #1 on: April 02, 2010, 09:33:27 PM »
Hi Geoff

8.30am here in Sydney - I can't see anything on your website other than the google map??


gleff

  • Full Member
  • ***
  • Posts: 111
Re: Plotting on google maps - my site
« Reply #2 on: April 02, 2010, 10:40:47 PM »


Hi,

Click on the tab in the top right hand corner and it should open the panel revealing the aircraft.
« Last Edit: April 02, 2010, 11:20:47 PM by gleff »
http://www.flighttracker.gleff.com - based in Sydney, Australia

gleff

  • Full Member
  • ***
  • Posts: 111
Re: Plotting on google maps - my site
« Reply #3 on: April 05, 2010, 09:57:35 AM »
Hi all,

My site is lot more functional now.  It currently updates every 20 seconds.  During the non curfew hours of 11pm-6am the data is live.  During the curfew hours for the time being I'll be placing a 3 minute loop of old data.  It's still a work in progress though.

Still after any comments.. eg. do you like it, hate it? etc.

http://www.flighttracker.gleff.com

Geoff
Ps.  Don't forget the tab in the top right hand corner of the webpage is a dropdown panel. 
http://www.flighttracker.gleff.com - based in Sydney, Australia

mrsimes

  • New Member
  • *
  • Posts: 2
Re: Plotting on google maps - my site
« Reply #4 on: April 15, 2010, 07:04:02 PM »
It looks sweet - it's exactly what I've started to write too!

I don't suppose you could share some of the PHP code with me that you've used to actually plot onto Google maps and populate the flight data panel, could you?
So far I'm able to parse the stream for the data I need, do lookups in a copy of the airnav database for aircraft details (and if missing, I automatically query libhomeradar), but I haven't figured out the presentation of all this info yet!

Simon

gleff

  • Full Member
  • ***
  • Posts: 111
Re: Plotting on google maps - my site
« Reply #5 on: April 16, 2010, 04:54:52 AM »
Hi Simon,

I've sent you a private message.

Regards
Geoff
http://www.flighttracker.gleff.com - based in Sydney, Australia