Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular
This commit is contained in:
commit
fc577cd7e4
@ -94,12 +94,10 @@
|
|||||||
;; roughly the height above mean sea level.
|
;; roughly the height above mean sea level.
|
||||||
:geom-alt (numstr (e "galt"))
|
:geom-alt (numstr (e "galt"))
|
||||||
:gnd? (boolstr (e "gnd"))
|
:gnd? (boolstr (e "gnd"))
|
||||||
:mlat? (= (e "mlat") "1")
|
|
||||||
:speed (numstr (e "spd"))
|
:speed (numstr (e "spd"))
|
||||||
:squawk (nilstr (e "sqk"))
|
:squawk (nilstr (e "sqk"))
|
||||||
:military? (= (e "mil") "1")
|
:military? (= (e "mil") "1")
|
||||||
:callsign (nilstr (e "call"))
|
:callsign (nilstr (e "call"))}))
|
||||||
:type (nilstr (e "type"))}))
|
|
||||||
|
|
||||||
|
|
||||||
(defn parse-adsbexchange-live-data [json-str]
|
(defn parse-adsbexchange-live-data [json-str]
|
||||||
|
Loading…
Reference in New Issue
Block a user