geoprimsField-grade geospatial math

Developer: index to area

Pick an H3 resolution for the area you care about, then index a point and fill a polygon.

For developers · 5 steps, worked out together from your values

Your values

Showing an example. Change anything.

All 5 steps worked out from your values.

  1. Step 1

    H3 resolution chooser

    Use resolution 9, averaging 0.1053 km² per cell.

    The resolution whose cells are about 0.1 km².

  2. Step 2

    H3 cell for a point

    The H3 cell is 892a8471487ffff, about 0.1053 km².

    The cell a point falls in at that resolution.

  3. Step 3

    H3 cell inspector

    The cell's center is 40.444865978°, -79.981846904°, at resolution 9.

    The cell's center, area, and boundary.

  4. Step 4

    H3 grid disk (k-ring)

    The disk of radius 1 holds 7 cells.

    The cell and its ring of neighbors.

  5. Step 5

    H3 polygon fill (polygonToCells)

    The polygon fills with 9 cells by center containment.

    Every cell whose center falls in a block of downtown Pittsburgh.

Assumptions (1)

Values this workflow fixes for you. Open the step's tool to change one.

  • Step 5, H3 polygon fill (polygonToCells): Containment = center (change)