项目作者: wookay

项目描述 :
H3.jl ⬡ provides a Julia version of H3, Hexagonal hierarchical geospatial indexing system. https://github.com/uber/h3
高级语言: Julia
项目地址: git://github.com/wookay/H3.jl.git
创建时间: 2019-02-23T17:33:09Z
项目社区:https://github.com/wookay/H3.jl

开源协议:Other

下载


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.

  1. using H3.API
  2. base = latLngToCell(LatLng(deg2rad(0), deg2rad(0)), 5)
  3. rings = gridDisk(base, 1)
  4. x = Vector{Float64}()
  5. y = Vector{Float64}()
  6. for boundary in cellToBoundary.(rings), geo in boundary
  7. push!(x, geo.lng)
  8. push!(y, geo.lat)
  9. end
  10. using UnicodePlots
  11. @info :plot scatterplot(x, y)

plot.png