We don't use type or mlat in the API results.

This commit is contained in:
John Wiseman 2020-08-02 15:30:26 -07:00
parent 82baa4509b
commit 46f236039e

View File

@ -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]