Browse Source

convert flight altitude to meters

pull/82/head
Aaron Parecki 8 years ago
parent
commit
f08de4043e
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 2
      scripts/flights.php

2
scripts/flights.php

@ -46,7 +46,7 @@ foreach($flights as $flight) {
'date' => date('Y-m-d H:i:s'),
'lat' => $flightData['latitude'],
'lng' => $flightData['longitude'],
'altitude' => $flightData['altitude'],
'altitude' => $flightData['altitude']*100*0.3048,
'heading' => $flightData['heading'],
'speed' => $flightData['groundspeed'],
];

Loading…
Cancel
Save