From eee2acbc5e73a442b01d2e0fdeb342c0270c7964 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Wed, 29 Jan 2020 13:28:23 -0800 Subject: [PATCH] Fixed landmark handling. --- src/main/lemondronor/circlebot.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/lemondronor/circlebot.cljs b/src/main/lemondronor/circlebot.cljs index 0410a6e..fbb6783 100644 --- a/src/main/lemondronor/circlebot.cljs +++ b/src/main/lemondronor/circlebot.cljs @@ -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)]