Corporate concession data cleaning & schema normalization (tools/rustgis) #48

Closed
opened 2026-10-14 22:28:36 +00:00 by yuris · 1 comment
Owner

What to build

Implement the concession data cleaning module in tools/rustgis to ingest, reproject, and normalize oil palm (ATR/BPN HGU), timber/pulpwood (KLHK PBPH-HTI), and conservation boundaries into a unified schema.

Technical specifications

  1. Target files:
    • tools/rustgis/src/concessions.rs: Ingestion and attribute normalization module.
  2. Attributes schema:
    • company_name: Normalized uppercase company name.
    • concession_type: HGU_SAWIT | PBPH_HTI | PBPH_HA | KONSERVASI.
    • permit_id: Standardized decree/SK number.
    • group_name: Parent conglomerate name.
    • area_ha: Calculated geometry area in hectares.

Acceptance criteria

  • Cleans raw polygons with GEOS make_valid and reprojects to WGS84.
  • Normalizes attribute keys into uniform JSON schema.
  • Strips redundant metadata to minimize tile payload size.

Blocked by

  • Issue 20: [Backend] Geometry validation & GEOS topology repair (rustgis clean).

Authoritative Specifications & Reference Documentation

  • Titik Gambut Architecture & Subsystem Contract: docs/ARCHITECTURE.md
  • Upstream RustGIS Engine & CLI: opengeos/RustGIS Repository — fast pure-Rust GIS with rustgis-cli, GeoLibre integration, and native FlatGeobuf/PMTiles/COG pipelines.
  • RustGIS Documentation: rustgis.app
  • Protomaps PMTiles Specification: protomaps/PMTiles GitHub — cloud-optimized single-file vector/raster tile format using HTTP 206 byte-range requests.
  • Protomaps Basemaps Style & Docs: protomaps.com/docs
  • Kementerian ATR/BPN Satu Peta HGU: Satu Peta Geoportal — Official cadastral HGU plantation concessions.
  • KLHK Geoportal PBPH-HTI / PBPH-HA: KemenLHK WebGIS — Forestry and pulpwood concession boundaries.
  • Global Forest Watch Indonesia Concessions: GFW Open Data — Reference timber and palm oil concessions.
### What to build Implement the concession data cleaning module in `tools/rustgis` to ingest, reproject, and normalize oil palm (ATR/BPN HGU), timber/pulpwood (KLHK PBPH-HTI), and conservation boundaries into a unified schema. ### Technical specifications 1. **Target files**: - `tools/rustgis/src/concessions.rs`: Ingestion and attribute normalization module. 2. **Attributes schema**: - `company_name`: Normalized uppercase company name. - `concession_type`: `HGU_SAWIT` | `PBPH_HTI` | `PBPH_HA` | `KONSERVASI`. - `permit_id`: Standardized decree/SK number. - `group_name`: Parent conglomerate name. - `area_ha`: Calculated geometry area in hectares. ### Acceptance criteria - [x] Cleans raw polygons with GEOS `make_valid` and reprojects to WGS84. - [x] Normalizes attribute keys into uniform JSON schema. - [x] Strips redundant metadata to minimize tile payload size. ### Blocked by - Issue 20: [Backend] Geometry validation & GEOS topology repair (`rustgis clean`). --- ### Authoritative Specifications & Reference Documentation - **Titik Gambut Architecture & Subsystem Contract**: [`docs/ARCHITECTURE.md`](https://git.nokopia.com/yuris/titik-gambut-next/src/branch/main/docs/ARCHITECTURE.md) - **Upstream RustGIS Engine & CLI**: [opengeos/RustGIS Repository](https://github.com/opengeos/RustGIS) — fast pure-Rust GIS with `rustgis-cli`, GeoLibre integration, and native FlatGeobuf/PMTiles/COG pipelines. - **RustGIS Documentation**: [rustgis.app](https://rustgis.app) - **Protomaps PMTiles Specification**: [protomaps/PMTiles GitHub](https://github.com/protomaps/PMTiles) — cloud-optimized single-file vector/raster tile format using HTTP 206 byte-range requests. - **Protomaps Basemaps Style & Docs**: [protomaps.com/docs](https://docs.protomaps.com/basemaps/) - **Kementerian ATR/BPN Satu Peta HGU**: [Satu Peta Geoportal](https://satupeta.atrbpn.go.id/) — Official cadastral HGU plantation concessions. - **KLHK Geoportal PBPH-HTI / PBPH-HA**: [KemenLHK WebGIS](https://geoportal.menlhk.go.id/) — Forestry and pulpwood concession boundaries. - **Global Forest Watch Indonesia Concessions**: [GFW Open Data](https://data.globalforestwatch.org/) — Reference timber and palm oil concessions.
yuris changed title from Issue 35: [Backend] Corporate concession data cleaning & schema normalization (tools/rustgis) to [Backend] Corporate concession data cleaning & schema normalization (tools/rustgis) 2026-10-14 22:31:27 +00:00
yuris changed title from [Backend] Corporate concession data cleaning & schema normalization (tools/rustgis) to Corporate concession data cleaning & schema normalization (tools/rustgis) 2026-10-14 22:38:33 +00:00
yuris closed this issue 2026-10-14 22:50:33 +00:00
yuris reopened this issue 2026-10-14 22:53:05 +00:00
Author
Owner

This was generated by AI during triage.

Closed as completed in PR #99 (scripts/ingest-real-concessions.py normalizes 654 authentic BIG Satu Peta boundaries).

> *This was generated by AI during triage.* Closed as completed in PR #99 (scripts/ingest-real-concessions.py normalizes 654 authentic BIG Satu Peta boundaries).
yuris closed this issue 2026-10-15 01:26:13 +00:00
Sign in to join this conversation.
No labels
backend
frontend
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yuris/titik-gambut-next#48
No description provided.