Skip to content

Commit d57154a

Browse files
committedApr 2, 2024
Update dependencies
1 parent 18a9e46 commit d57154a

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
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"]}}}

‎pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
<dependency>
2121
<groupId>org.clojure</groupId>
2222
<artifactId>clojure</artifactId>
23-
<version>1.10.1</version>
23+
<version>1.11.2</version>
2424
</dependency>
2525
<dependency>
2626
<groupId>org.clojure</groupId>
2727
<artifactId>spec.alpha</artifactId>
28-
<version>0.2.176</version>
28+
<version>0.4.233</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>manifold</groupId>
3232
<artifactId>manifold</artifactId>
33-
<version>0.1.9-alpha3</version>
33+
<version>0.4.2</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>byte-streams</groupId>
@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>org.clojure</groupId>
4242
<artifactId>test.check</artifactId>
43-
<version>0.10.0</version>
43+
<version>1.1.1</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>factual</groupId>

‎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)
Please sign in to comment.