返回资讯中心
外部精选
软件工程
#开发者实时流

A5

Global, equal-area, millimeter-accurate geospatial index

Hacker News 最新pheelicks2026/10/19 · 28 天前3 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

A5AboutExamplesBlog

GitHub

Loading data…

Global, equal-area, millimeter-accurate geospatial index

A5 turns any location on Earth into a 64-bit cell ID, on a grid of equal-area pentagons that runs from continents down to 30mm². Join, aggregate and compare data anywhere, with fast libraries and integrations across your whole stack.

Strong ecosystem

Robust base libraries in TypeScript, Python and Rust, with DuckDB, R, QGIS, deck.gl and more built on top. All interoperable via a cell index that is frozen from v1.0, so stored IDs stay valid.

High-level functions make working with the grid easy. The native Rust core indexes over 2 million points per second on a laptop.

Every cell is an exactly equal-area pentagon — no exceptions, no kinks. Resolutions all the way down to 30mm² give a common way to represent point, line, polygon and raster data without statistical bias.

Cell IDs follow a global space-filling curve that never crosses itself, so polygons and coverings are compact ID ranges. Fill, union and intersect billions of cells in seconds, and use A5 as a natural partitioning key.

A5's pentagon mosaic is recognizable at a glance, and renders fast in a variety of geospatial libraries, such as deck.gl, MapLibre or QGIS.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →