Skip to main content

Overview

A5 has the same API in every language, with the following functions available. They are listed by their TypeScript names: Python and Rust use snake_case (lonlat_to_cell), and DuckDB and R add an a5_ prefix (a5_lonlat_to_cell).

AI coding agents can read these docs as Markdown, with code samples in a single language: see llms.txt.

For examples of how to use the code, see the example code on GitHub.

Indexing​

Hierarchy​

Cell Info​

Traversal​

Compaction​

Coverings​

Miscellaneous​