Files
hexifyer/.gitignore
Axel Meyer 12200735bf Add per-hex metadata system for scale-invariant classification
Each hex now gets a meta/<q>_<r>.json with stable ID, pixel center
coordinates, pixel bounds, labels, notes, and classification status.
The pixelCenter acts as a scale-independent anchor: when switching from
10 Meilen/Hex to 5 Meilen/Hex, pixelToAxial(meta.pixelCenter, newSize)
maps coarse hexes to fine hexes without re-running classification.

Adds:
- pipeline/build-hexmeta.ts: creates/updates metadata + exports
  data/hexmeta-<map-id>.jsonl (committed, survives git clones)
- pipeline/auto-classify-ocean.ts: pixel-based ocean auto-detection
- pipeline/create-map.ts: one-off DB map entry creation
- extract-submaps.ts: writes meta/<q>_<r>.json during extraction
- data/hexmeta-1.jsonl: 8844 hex metadata entries for Aventurien map 1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 10:07:09 +02:00

14 lines
265 B
Plaintext

node_modules/
dist/
dist-server/
*.log
tiles/
data/*.db
# Pipeline artefakte — lokal erzeugte Karten, Tiles, Submaps (PNGs + rohe JSONs)
pipeline/source/
pipeline/submaps/
# data/ enthält committete Artefakte (hexmeta-*.jsonl), aber keine DB-Dateien
data/*.db