Skip to content

Karta

Karta is a reusable SDK for building public-interest geospatial layer platforms — a domain-agnostic layer model, generic map rendering, and React hooks that any dataset can be wired into, with no accounts and no tracking beyond cookieless page views. @karta/core, @karta/map, and @karta/react are the SDK itself; it doesn't encode any particular geography or story.

packages/app and packages/web are a reference implementation proving the SDK out end-to-end with one real, published domain: Gauteng spatial legacy, mapping apartheid-era spatial planning legacy across South African cities. That's just the first domain built on the SDK — a different one could map flood risk, public amenities, or anything else. See docs/domains/gauteng-spatial-legacy.md for what it covers, why it exists, and how its per-metro area data is classified.

Documentation

Stack

React + TypeScript SSR app (React Router framework mode on Vite, react-leaflet, Zustand, Zod, CSS Modules) split into five npm workspace packages — @karta/core, @karta/map, @karta/react, @karta/app, and @karta/web — plus a Node/TypeScript offline data pipeline (public OSRM for routing, Overpass API + open data portals for transit, no Docker/GDAL required), and Cloudflare Workers for edge rendering and asset delivery. No accounts and no tracking beyond cookieless page views.

Contributing

npm install
npm run dev --workspace @karta/web

CONTRIBUTING.md covers the full setup, the project conventions, and how to propose data changes. SECURITY.md covers reporting a suspected vulnerability privately. CODE_OF_CONDUCT.md sets expectations for respectful, inclusive participation in project spaces.

License

AGPL-3.0 — a public-interest data project; forks that host a modified version must share their source too. See ATTRIBUTIONS.md for data and software attributions and PRIVACY.md for the privacy policy.

About

Karta — a reusable SDK for public-interest geospatial layer platforms, proven out on a Gauteng apartheid spatial-legacy map.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors

Languages