Skip to content

Commit 5f8e13a

Browse files
add readme
1 parent 609295b commit 5f8e13a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
```

0 commit comments

Comments
 (0)