importGlobalGrids as GGusingCairoMakie# Create a lon/lat pointp = GG.LonLat(-75.0, 54.0)# Find the cell containing the point at a given resolutionc = GG.H3Cell(p, 7)
Precompiling packages...
872.7 ms ✓ QuartoNotebookWorkerTablesExt (serial)
1 dependency successfully precompiled in 1 seconds
Precompiling packages...
2063.0 ms ✓ QuartoNotebookWorkerLaTeXStringsExt (serial)
1 dependency successfully precompiled in 2 seconds
Precompiling packages...
1072.9 ms ✓ QuartoNotebookWorkerJSONExt (serial)
1 dependency successfully precompiled in 1 seconds
Precompiling packages...
6234.4 ms ✓ QuartoNotebookWorkerMakieExt (serial)
1 dependency successfully precompiled in 6 seconds
Precompiling packages...
5159.2 ms ✓ QuartoNotebookWorkerCairoMakieExt (serial)
1 dependency successfully precompiled in 5 seconds
# Intro to GlobalGrids.jl**Discrete global grids (DGGs) for Julia.**GlobalGrids provides:- An idiomatic Julia interface to Uber's [H3](https://h3geo.org) hexagonal grid system.- Icosahedron mesh and orientation utilities for DGG design (a work in progress).- Makie.jl and Rasters.jl integration.> A great resource for learning about DGGs is [https://discreteglobalgrids.org](https://discreteglobalgrids.org)## Installation```juliausingPkgPkg.add(url ="https://github.com/RallypointOne/GlobalGrids.jl")```## Quickstart```{julia}importGlobalGrids as GGusingCairoMakie# Create a lon/lat pointp = GG.LonLat(-75.0, 54.0)# Find the cell containing the point at a given resolutionc = GG.H3Cell(p, 7)``````{julia}poly(GG.grid_ring(c, 1), color=1:6)```