Skip to content
/ H3.jl Public

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

License

Notifications You must be signed in to change notification settings

wookay/H3.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H3.jl ⬡

Documentation Build Status

H3.jl provides Julia bindings to h3, a hexagonal, hierarchical geospatial indexing system. See the source code for the underlying C library at https://github.com/uber/h3.

using H3.API

base = 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)
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

Contributors 4

  •  
  •  
  •  
  •  

Languages