agentic-geojson-builder
tigawanna/agentic-geojson-builder
A full-stack TypeScript workspace for turning map images and PDFs into editable built with electron ad vite
- electron
- mcp
- typescript
- vite
tigawanna/agentic-geojson-builder
A full-stack TypeScript workspace for turning map images and PDFs into editable built with electron ad vite
A full-stack TypeScript workspace for turning map images and PDFs into editable, validated GeoJSON. The motivating case is a Karura Forest map PDF from Nairobi: a static map with useful labels for bike paths, dog paths, trail sections, and park features that should become structured spatial data.
The product direction is hybrid by design. A human georeferences an image overlay, traces paths, and corrects every vertex. An agent inspects the source image plus a base map, proposes GeoJSON features, and hands them back as editable drafts — all against the same server Postgres state.
Area | Status |
|---|---|
Map workspace UI ( | Done |
Postgres persistence + auth scoping | Done |
Control points (32 on Karura map id 1) | Imported |
Affine georeference | Next |
Agent / MCP tools | Planned (Phase 2) |
Handoff checklist: TODOS.md
Layer | Choice |
|---|---|
Monorepo | pnpm workspaces + Turbo |
App framework | TanStack Start (SSR-capable React) |
Routing | TanStack Router (file-based) |
Data fetching | TanStack Query + |
Database | PostgreSQL + PostGIS + Drizzle |
Styling | Tailwind CSS v4 + DaisyUI tokens |
Auth | Better Auth |
1pnpm install2pnpm dev # from repo root3pnpm --filter web db:migrate4pnpm --filter web db:import-stash -- --list-users # recover stashed control points
Use vp from the repo root for lint/format/test where available.
Doc | Purpose |
|---|---|
Phased checklist and tool inventory | |
Implemented UI features | |
Agent chunking, vision vs coordinates, verification | |
Product workflow and modules | |
Stack, data layer, repo layout | |
Product vision |
Add your license.
Agent tooling |
TanStack AI, OpenRouter, MCP SDK (planned) |
Tooling | Vite+ ( |