                        south-cond
                        (qm/or-conds [am-conds non-am-conds])])))))
 
-
 (def orbit-param-fields
   "The collection fields that describe the orbit as used in orbital back tracking."
   [:concept-id

         ranges)))

(defn- crossing-ranges->condition
  "Createa a search condtion for a given vector of crossing ranges."
  [crossing-ranges]
  (qm/or-conds
    (map (fn [[range-start range-end]]

                                      :fields orbit-param-fields})
        results (:items (qe/execute-query context orbit-params-query))]
    results))

(defn- resolve-shape-type
  "Convert the 'type' string from a serialized shape to one of 'point', 'line', 'br', or 'poly'.
