h3Easy Examples

Uber's hexagonal hierarchical spatial index

Getting started with h3

Installation and basic usage of h3.

python
# Install: pip install h3
import h3

# Basic h3 usage
print(f"Using h3")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: h3)

h3 is a third-party package. Uber's hexagonal hierarchical spatial index. Install with: pip install h3

Common h3 operations

Frequently used features of h3.

python
# Install: pip install h3
import h3

# Common h3 patterns
print(f"h3 version: {h3.__version__}")

These are the most commonly used features of h3 in everyday development.

Want to try these examples interactively?

Open Easy Playground