H3 edges and vertexes
The directed edges (with lengths and neighbors) and vertexes of an cell (originToDirectedEdges, cellToVertexes).
The cell has 6 edges.
| Directed edge | Neighbor | Length |
|---|---|---|
| 1192a8471487ffff | 892a84714b3ffff | 202.515 m |
| 1592a8471487ffff | 892a847334bffff | 195.585 m |
| 1492a8471487ffff | 892a8471497ffff | 206.397 m |
| 1692a8471487ffff | 892a8471483ffff | 202.518 m |
| 1292a8471487ffff | 892a847148fffff | 195.584 m |
| 1392a8471487ffff | 892a84714bbffff | 206.394 m |
| Vertex | Latitude | Longitude |
|---|---|---|
| 2492a8471483ffff | 40.446610897 | -79.982138265 |
| 2392a8471483ffff | 40.445571073 | -79.984103105 |
| 2292a8471487ffff | 40.443826183 | -79.983811677 |
| 2392a8471487ffff | 40.443121097 | -79.981555564 |
| 2492a8471487ffff | 40.444160846 | -79.979590767 |
| 2592a8471487ffff | 40.445905756 | -79.979882041 |
Provenance
- Computed by
- indexing.h3.edges 1.0.0, core 0.1.0
- Model
- H3 v4 directed edges and vertexes (h3o 0.11)
- Accuracy
- Identical to H3 C
- Notes
- None
- Cites
- Uber Technologies and the H3 contributors, H3: A Hexagonal Hierarchical Geospatial Indexing System (API reference v4); Hydronium Labs, h3o: a Rust implementation of H3
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: H3 v4 directed edges and vertexes (h3o 0.11)
Accuracy: Identical to H3 C
When to use this: Use this when the boundaries between cells matter rather than the cells: the directed edges leaving a cell, with their lengths and the neighbor each one leads to, and the cell's vertexes. It is what routing, flow, and adjacency work on an H3 grid is built from. Edges are also how a boundary between two regions is expressed on the grid: the edges whose two cells fall on different sides trace it, which is how outlines are extracted from a cell set.
Limitations: A hexagon has six edges and a pentagon five, so code that assumes six breaks at the twelve pentagons of each resolution. Edge lengths vary across the grid because H3 cells are not identical, and an edge is a grid relationship rather than a physical boundary on the ground. A directed edge belongs to its origin cell, so an edge and its reverse are different objects, and code that treats them as one counts every boundary twice.
Worked example: Edges of 892a8471487ffff. Source: H3 originToDirectedEdges. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- Cell
- 892a8471487ffff
You get
- Edges
- 6
Review: Not yet independently reviewed by a GIS professional.
Last verified: 2026-09-18, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.
Status: version 1.0.0, core 0.1.0. See this tool in the verification report.
Changes
- 2026-09-19, changed: Eight more H3 tools are stable: the cell inspector, grid ring, grid path, parent, children, compact, uncompact, and edges. On 300 cells at every resolution, one in eight a pentagon, they match H3 C exactly, including every path H3 C refuses; cell areas agree to 2e-8 relative even at resolution 15. Results are unchanged. Changelog
Checked against: 20 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.
Sources
- H3: A Hexagonal Hierarchical Geospatial Indexing System (API reference v4), Uber Technologies and the H3 contributors, H3 4.x documentation. Indexing, inspection, traversal, hierarchy, directed edges, vertexes, and resolution tables. Read free.
- h3o: a Rust implementation of H3, Hydronium Labs, 0.11.0 (tested against H3 C). CellIndex, LatLng, Resolution. Read free.
Terms
- H3: H3 hexagonal hierarchical index
- A global grid of hexagons (and 12 pentagons) at 16 resolutions, each cell about one-seventh the area of its parent, named by a 15-character index. Source: H3 hexagonal index
H3 — H3 hexagonal hierarchical index
A global grid of hexagons (and 12 pentagons) at 16 resolutions, each cell about one-seventh the area of its parent, named by a 15-character index.
Source: H3 hexagonal index