@effect-dynamodb/geo
v1.7.2
Published
Geospatial index and search for effect-dynamodb using H3 hexagonal grid
Maintainers
Readme
@effect-dynamodb/geo
Geospatial index and proximity search for effect-dynamodb, built on Uber's H3 hexagonal grid.
Documentation: https://jmenga.github.io/effect-dynamodb/guides/geospatial
Installation
pnpm add @effect-dynamodb/geo effect-dynamodb effecteffect and effect-dynamodb are peer dependencies.
What it does
Adds two operations to any entity with lat/lng coordinates:
- Proximity search — "find items within N kilometers of a point"
- Bounding-box search — "find items inside a rectangle"
Implemented as a GSI overlay using H3 cell IDs as the partition key, so reads stay O(visited cells) instead of scanning the table.
See the Geospatial guide for setup, indexing strategy, and tradeoffs.
