summaryrefslogtreecommitdiff
path: root/scripts/flights.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/flights.php')
-rw-r--r--scripts/flights.php2
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'],
];