Developer: index to area
Choose an H3 resolution for the cell size you want, index a point, inspect its cell and neighbors, and fill an area.
Step 1
H3 resolution chooser
The resolution whose cells are about 0.1 km².
You should see Use resolution 9, averaging 0.1053 km² per cell.
Step 2
H3 cell for a point
The cell a point falls in at that resolution.
Carries resolution from step 1.
You should see The H3 cell is 892a8471487ffff, about 0.1053 km².
Step 3
H3 cell inspector
The cell's center, area, and boundary.
Carries H3 cell from step 2.
You should see The cell's center is 40.444865978°, -79.981846904°, at resolution 9.
Step 4
H3 grid disk (k-ring)
The cell and its ring of neighbors.
Carries center cell from step 2.
You should see The disk of radius 1 holds 7 cells.
Step 5
H3 polygon fill (polygonToCells)
Every cell whose center falls in a block of downtown Pittsburgh.
Carries resolution from step 1.
You should see The polygon fills with 9 cells by center containment.