Fixed landmark handling.
This commit is contained in:
parent
2ed77de13e
commit
eee2acbc5e
@ -337,6 +337,7 @@
|
||||
(dissoc :callsign)
|
||||
;; TODO: If layer is "county", find the nearest city.
|
||||
)]
|
||||
(log-info "Template data: %s %s" nearby info)
|
||||
info))
|
||||
|
||||
|
||||
@ -417,7 +418,7 @@
|
||||
;; Note that if we're over the ocean we get null :(
|
||||
(p/then (p/all [(screenshot (:icao ac) lat lon)
|
||||
(p/let [nearby (landmark config lat lon)
|
||||
nearby (:features nearby)
|
||||
_ (log-info "WOOO %s" nearby)
|
||||
sqb (if-let [sqb-path (:basestation-sqb config)]
|
||||
(get-basestation-sqb-record icao sqb-path))]
|
||||
(let [description (generate-description ac sqb coarse nearby)]
|
||||
|
Loading…
Reference in New Issue
Block a user