Skip to main content

A5 - Global Pentagonal Geospatial Index

Project description

A5 - Global, equal-area, millimeter-accurate geospatial index

Website: A5Geo.org

thumbnails

Introduction

A5 is a geospatial index that partitions the world into pentagonal cells. The cells are available at 31 different resolution levels, with the largest cell covering the whole world, and the smallest less than 30mm². Within each resolution level the cells have equal area, as per the OGC definition.

A5 cells provide simple way to represent spatial data as a collection of cells, which together represent regions on the globe. These can be anything, from city districts to parcels of land. Once data is in a cell-based format, it becomes much simpler to perform analysis such as calculating the correlation between different variables - for example elevation and crop yield.

Cells can also be used to group (aggregate) point data, to understand how it spatially distributed. For example, the density of holiday rentals across a city.

To understand how it works, take a look at the Examples.

A5 is implemented in TypeScript and is available as a library, with API documentation here. It is open source and licensed under the Apache 2.0 License.

Benefits over alternative systems

Like other DGGSs, A5 can be used for indexing, spatial joins, and other spatial operations. The appropriate choice of DGGS will depend on the use case, the key strengths of A5 over other similar indexing systems are:

  • Equal area cells group spatial features without introducing bias.
  • Very high resolution of 30mm² at final resolution level, encoded as a 64-bit integer.
  • Single cell topology type, with minimal shape distortion across the globe.

Geometric Construction

DGGSs are generally based on a planar cell tiling which is applied to the sides of a platonic solid, before being projected onto a sphere.

A5 is unique in that it uses a pentagonal tiling of a dodecahedron. The pentagon chosen for the tiling is equilateral, but not regular - unlike other common DGGSs which use regular polygons, for example HTM uses triangles, S2 uses squares, and H3 uses hexagons.

The benefit of choosing a dodecahedron is that it is the platonic solid with the lowest vertex curvature, and by this measure it is the most spherical of all the platonic solids. This is key for minimizing cell distortion as the process of projecting a platonic solid onto a sphere involves warping the cell geometry to force the vertex curvature to approach zero. Thus, the lower the original vertex curvature, the less distortion will be introduced by the projection.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pya5-0.8.0.tar.gz (434.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pya5-0.8.0-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file pya5-0.8.0.tar.gz.

File metadata

  • Download URL: pya5-0.8.0.tar.gz
  • Upload date:
  • Size: 434.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for pya5-0.8.0.tar.gz
Algorithm Hash digest
SHA256 2dbdf7efe300f151d8795d0a95bee5cc6d6b32d9fd46c4284815d316e4233b8f
MD5 dffb1be7e3a6362e1eb29b3fa08dcc0c
BLAKE2b-256 e96a38e2f588514e6d92c0eb35f0097afa1b33fd2f8aa892e2f4d131bafcd232

See more details on using hashes here.

File details

Details for the file pya5-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: pya5-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 89.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.4

File hashes

Hashes for pya5-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c5df400f861ccfb4d69086246f54c95d34dc8a0500b59923666aca155d15c4
MD5 510e121e9cff98594a930a74ff189e6d
BLAKE2b-256 ee1b6af63e253b7699fde6532629a0a2ec16a9235a12e844147164bc1f384d92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page