feat(ingestion): pipeline and dataset for real national concession boundaries (ATR/BPN & KLHK) #99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/real-concessions-dataset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements automated ingestion of authentic Indonesian concession boundaries from BIG Satu Peta, compiles PMTiles for CDN object storage, and adds BBox pre-filtering for sub-millisecond point lookups.
Closes #96
Principles applied
principle-model-the-domain: Integrated authentic Indonesian cadastral boundaries (IUPHHK-HTI, IUPHHK-HA, and HGU Palm Oil) directly from national spatial geoportal services.principle-boundary-discipline: Large generated GeoJSON (14 MB) and compiled PMTiles (29 MB) are isolated to.cache/and CDN object storage rather than tracked in Git commit history.principle-test-behavior-not-implementation: Asserted spatial containment and bounding box pre-filtering across concession geometries inconcessions.test.ts.ponytail-review: Substituted heavy spatial libraries with pure BBox pre-filtering, cutting point lookup time down to sub-millisecond speeds.Impact
Anti-Overengineering Audit (ponytail-review)
Verification proof
pnpm exec vp check: Passed cleanly with zero formatting or lint errors across 241 files.pnpm test: 14 test suites and 85 unit tests passed in 377ms.pnpm build: Next.js Turbopack production build completed with all 12 routes generated cleanly.321433f3a9374b4dea4btools/rustgis) #48scripts/build-concessions-pmtiles.sh) #49src/lib/gis/concession-lookup.ts) #50concessions-layer.tsx) #51concession-card.tsx) #53