Skip to content

bdotdub/SwiftH3

Repository files navigation

SwiftH3

This is a simple library to interface with H3, a hexagonal hierarchical geospatial indexing system.

Installation

  1. Add this to your Package.swift (or add via Xcode 11):
    • .package(url: "https://github.com/bdotdub/SwiftH3.git", from: "0.1.0")

Examples

import SwiftH3

let coordinate = H3Coordinate(lat: 37.775, lon: -122.419)
let index = H3Index(coordinate: coordinate, resolution: 9)
print(index)

Thanks

About

A Swift library for H3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages