Jump to content

Recommended Posts

Posted (edited)

Something i have been working on with a friend lately is creating a flight path line from the flown route on v5.5.2

This is still the early stages but everything is already there thats needed. when i do the corrections and other fun stuff to the code i will put it out. check it out for yourself.

This is without the  addons that cost $$$ and made with everything already given to you (but with leaflet)

leaflet will be required to run this as im not paying $$$ for a google maps API




 

ref4.JPG

 

 

 

So lets Continue on

First thing is first, we have to make a db from your mysql 
 

CREATE TABLE [name of your table] (
    id INT AUTO_INCREMENT PRIMARY KEY,
    flightnum VARCHAR(255) NOT NULL,
    timestamp TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    lat DECIMAL(8, 6) NOT NULL,
    lng DECIMAL(9, 6) NOT NULL
);



 you can name yours whatever. this is where you will store all of that flight lat and lng.   Im still working on the code to grab that data for a selected flight but might as well start you on the MYsql side.. 


I wouldnt recommend doing this if you have little experience with MYSQL and adding into the DB 


 

Edited by swaluver480
  • swaluver480 changed the title to Geodesic Line Flight Path for v5.5.2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...