Skip to content

Commit e9c68a0

Browse files
committed
Update dependencies
1 parent 18a9e46 commit e9c68a0

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Using `tools.deps.alpha`, run `clj -A:test:runner`. Depends on the (still incomp
3939
## License
4040

4141
```
42-
Copyright (c) 2019, 2020 Will Cohen
42+
Copyright (c) 2019, 2020, 2024 Will Cohen
4343
4444
Licensed under the Apache License, Version 2.0 (the "License");
4545
you may not use this file except in compliance with the License.

deps.edn

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{:paths ["resources" "src"]
22
:deps {byte-streams/byte-streams {:mvn/version "0.2.5-alpha2"}
3-
factual/geo {:git/url "https://github.com/Factual/geo"
4-
:sha "4566f37e2681113373350632087d2dbf8f145b96"}
5-
manifold/manifold {:mvn/version "0.1.9-alpha3"}
6-
org.clojure/clojure {:mvn/version "1.10.1"}
7-
org.clojure/spec.alpha {:mvn/version "0.2.176"}
8-
org.clojure/test.check {:mvn/version "0.10.0"}}
3+
factual/geo {:git/url "https://github.com/willcohen/geo"
4+
:git/sha "479420ae259b17ec759fe0613e470c4d9c979e68"}
5+
manifold/manifold {:mvn/version "0.4.2"}
6+
org.clojure/clojure {:mvn/version "1.11.2"}
7+
org.clojure/spec.alpha {:mvn/version "0.4.233"}
8+
org.clojure/test.check {:mvn/version "1.1.1"}}
99
:aliases
1010
{:test {:extra-paths ["test"]
1111
:extra-deps {org.clojure/test.check {:mvn/version "0.10.0"}}}
@@ -19,5 +19,5 @@
1919
{:extra-deps {seancorfield/depstar {:mvn/version "0.1.5"}}
2020
:main-opts ["-m" "hf.depstar.jar" "ovid.jar"]}
2121
:deploy
22-
{:extra-deps {deps-deploy {:mvn/version "0.0.9"}}
22+
{:extra-deps {deps-deploy/deps-deploy {:mvn/version "0.0.9"}}
2323
:main-opts ["-m" "deps-deploy.deps-deploy" "deploy" "ovid.jar"]}}}

src/ovid/feature.clj

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;; Copyright (c) 2019, 2020 Will Cohen
1+
;; Copyright (c) 2019, 2020, 2024 Will Cohen
22
;;
33
;; Licensed under the Apache License, Version 2.0 (the "License");
44
;; you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
[geo.geohash :as geo.geohash]
1818
[geo.h3 :as geo.h3])
1919
(:import (ch.hsr.geohash GeoHash WGS84Point)
20-
(com.uber.h3core.util GeoCoord)
20+
(com.uber.h3core.util LatLng)
2121
(org.locationtech.jts.geom Geometry)
2222
(org.locationtech.spatial4j.shape Shape)
2323
(org.locationtech.spatial4j.shape.impl
@@ -180,7 +180,7 @@
180180
(-assoc-properties [this p] (-to-feature this p))
181181
(-update-properties [this f] (-update-properties (-to-feature this) f))
182182

183-
GeoCoord
183+
LatLng
184184
(-to-shape [this] (geo.spatial/to-shape this))
185185
(-to-jts
186186
([this] (geo.spatial/to-jts this))
@@ -282,17 +282,17 @@
282282
(-geometry [this] (:geometry this))
283283
(-properties [this] (:properties this))
284284
(-assoc-geometry [this s] (assoc this :geometry s))
285+
(-update-geometry
286+
([this f] (update this :geometry f))
287+
([this f & args]
285288
(-update-geometry
286-
([this f] (update this :geometry f))
287-
([this f & args]
288-
(-update-geometry
289-
this (fn [x] (apply f (cons x args))))))
289+
this (fn [x] (apply f (cons x args))))))
290290
(-assoc-properties [this p] (assoc this :properties p))
291291
(-update-properties [this f] (update this :properties f)))
292292

293-
(defn h3->feature
294-
[h3]
295-
{:geometry (geo.h3/to-jts h3) :properties {:h3 h3}})
293+
;; (defn h3->feature
294+
;; [h3]
295+
;; {:geometry (geo.h3/to-jts h3) :properties {:h3 h3}})
296296

297297
(defn ^Shape to-shape
298298
"Get Shape from geometry of Featurelike

0 commit comments

Comments
 (0)