Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wookay/h3.jl
H3.jl ⬡ provides a Julia version of H3, Hexagonal hierarchical geospatial indexing system. https://github.com/uber/h3
https://github.com/wookay/h3.jl
h3 hexagonal-geospatial julia
Last synced: 2 days ago
JSON representation
H3.jl ⬡ provides a Julia version of H3, Hexagonal hierarchical geospatial indexing system. https://github.com/uber/h3
- Host: GitHub
- URL: https://github.com/wookay/h3.jl
- Owner: wookay
- License: other
- Created: 2019-02-23T17:33:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T04:16:44.000Z (7 months ago)
- Last Synced: 2024-04-29T23:53:19.438Z (7 months ago)
- Topics: h3, hexagonal-geospatial, julia
- Language: Julia
- Homepage:
- Size: 132 KB
- Stars: 23
- Watchers: 6
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# H3.jl ⬡
| **Documentation** | **Build Status** |
|:-----------------------------------------:|:------------------------------------------------------------------:|
| [![][docs-latest-img]][docs-latest-url] | [![][actions-img]][actions-url] [![][codecov-img]][codecov-url] |`H3.jl` provides Julia bindings to [h3](https://github.com/uber/h3), a hexagonal, hierarchical geospatial indexing system. See the source code for the underlying C library at https://github.com/uber/h3.
```julia
using H3.APIbase = latLngToCell(LatLng(deg2rad(0), deg2rad(0)), 5)
rings = gridDisk(base, 1)x = Vector{Float64}()
y = Vector{Float64}()
for boundary in cellToBoundary.(rings), geo in boundary
push!(x, geo.lng)
push!(y, geo.lat)
endusing UnicodePlots
@info :plot scatterplot(x, y)
```[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
[docs-latest-url]: https://wookay.github.io/docs/H3.jl/[actions-img]: https://github.com/wookay/H3.jl/workflows/CI/badge.svg
[actions-url]: https://github.com/wookay/H3.jl/actions[codecov-img]: https://codecov.io/gh/wookay/H3.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/wookay/H3.jl/branch/master