tessl install tessl/pypi-h3@4.3.0Python bindings for H3, a hierarchical hexagonal geospatial indexing system
Agent Success
Agent success rate when using this tile
84%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.95x
Baseline
Agent success rate without this tile
88%
Utility module for exposing vertex identifiers and coordinates for H3 cells so downstream code can reason about cell corners rather than entire boundaries.
(latitude, longitude) tuples rounded to 6 decimal places, preserving the input order; the first tuple should place the point northwest of the cell center (latitude between 37.775 and 37.776, longitude between -122.420 and -122.419). @test@generates
from typing import Iterable, Sequence, Tuple, Dict, List
def cell_vertices(cell: str) -> List[str]:
"""Return the ordered vertex identifiers for a cell index; raise ValueError on invalid input."""
def vertices_to_coordinates(vertices: Sequence[str]) -> List[Tuple[float, float]]:
"""Convert each vertex identifier to a (lat, lng) tuple in degrees, rounded to 6 decimals."""
def shared_vertex_map(cells: Sequence[str]) -> Dict[str, Tuple[float, float]]:
"""Return unique vertex identifiers across the provided cells mapped to their coordinates."""Provides vertex listing, vertex validation, and vertex-to-lat/lng conversion for H3 indexes.