@paramira/geo-claims
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.
geo
Dependency-free geography for maps without a tile server: a TopoJSON decoder, point-in-polygon, local and Equal Earth projections, great-circle paths, hierarchical place cells (continent / country / province / district / city) with coarsening and k-threshold rollup, offline place search, and per-era label resolution.
geo-packs
Static boundary and place data for @paramira/geo maps: world countries and continents (Natural Earth, public domain), provinces for every country and districts for a starter set (geoBoundaries, per-country open licenses), and a city gazetteer, all keyed by place cells, plus a loader that fetches them on demand.