Packages

@paramira/geo-claims

Region-claim polygons small enough to ride in a proposal: quantized to a ~111 m grid and delta-encoded, with one encoder and decoder shared by abantu, iwacu and the directory.

License: AGPL-3.0-or-later

Source: packages/geo-claims

What it does

Region claims small enough to ride inside a governance proposal. A hand-drawn historical boundary doesn't need survey precision: points are quantized to a ~111 m grid (0.001°) and delta-encoded, so a 50-point polygon is a few hundred bytes of text.

abantu encodes a sketched polygon into a proposal, iwacu decodes it to draw, and the directory gates claims by era without decoding them. The encoder and decoder have to match exactly, which is why they live here once.

AGPL-3.0-or-later.

Used by

Apps: abantu, iwacu-nuxt

Services: directory

Uses

No dependencies.