diff options
| author | Aaron Parecki <aaron@parecki.com> | 2017-05-17 11:03:46 +0200 |
|---|---|---|
| committer | Aaron Parecki <aaron@parecki.com> | 2017-05-17 11:03:46 +0200 |
| commit | f08de4043ee6b1a9a4a2282b1ea417f378a82164 (patch) | |
| tree | 23ccbdfc337e5cbdb8153924ede4d54f22cd922f /scripts | |
| parent | d13425af4fb44f45753868706d2d092c7fbc78b7 (diff) | |
convert flight altitude to meters
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/flights.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/flights.php b/scripts/flights.php index 9ea36a9..e6f190f 100644 --- a/scripts/flights.php +++ b/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'], ]; |
