Skip to content

wookay/H3.jl

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
gen
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

H3.jl ⬡

Documentation Build Status

H3.jl provides a Julia version of H3, Hexagonal hierarchical geospatial indexing system. https://github.com/uber/h3

using H3.API

base = geoToH3(GeoCoord(deg2rad(0), deg2rad(0)), 5)
rings = kRing(base, 1)

x = Vector{Float64}()
y = Vector{Float64}()
for boundary in h3ToGeoBoundary.(rings), geo in boundary
    push!(x, geo.lon)
    push!(y, geo.lat)
end

using UnicodePlots
@info :plot scatterplot(x, y)

plot.png

About

H3.jl ⬡ provides a Julia version of H3, Hexagonal hierarchical geospatial indexing system. https://github.com/uber/h3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages