File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ # swift-h3
2
+
3
+ Swift bindings for [ Uber's H3] ( https://github.com/uber/h3 ) library – a fast, hexagonal hierarchical geospatial indexing system.
4
+
5
+ This package provides native Swift access to core H3 functionality by wrapping the C library via Swift Package Manager.
6
+
7
+ ---
8
+
9
+ ## Features
10
+ - [x] Indexing API
11
+ - [x] Inspection API
12
+ - [x] Traversal API
13
+ - [x] Hierarchy API
14
+ - [x] Regions API
15
+ - [ ] Directed edges API
16
+ - [ ] Vertexes API
17
+ - [ ] Miscellaneous
18
+ ---
19
+
20
+ ## Installation
21
+
22
+ ### Swift Package Manager
23
+
24
+ Add this to your ` Package.swift ` :
25
+
26
+ ``` swift
27
+ .package (url : " https://github.com/JeremyEspresso/swift-h3.git" , from : " 1.0.0" )
28
+ ```
29
+
30
+ ## 🔨 Development
31
+
32
+ This package wraps the H3 C library via submodule.
33
+
34
+ Clone with submodules:
35
+
36
+ ``` bash
37
+ git clone --recurse-submodules https://github.com/JeremyEspresso/swift-h3.git
38
+ ```
39
+
40
+ Then build:
41
+ ``` bash
42
+ swift build
43
+ swift test
44
+ ```
You can’t perform that action at this time.
0 commit comments