Files
geointel/docs/CODEX_PHASE_2_PROMPT.md
T
Jens faeb58ef6d
GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
Initial public release
2026-08-31 21:56:53 +02:00

877 B

Codex Phase 2 Prompt — Dataset Manager + Raster/Vector Metadata

Read first:

  • docs/DATA_CATALOG.md
  • docs/RASTER_OPERATIONS_SPEC.md
  • docs/VECTOR_OPERATIONS_SPEC.md
  • docs/API_SPECIFICATION.md
  • docs/STORAGE_ARCHITECTURE.md

Mission

Implement dataset upload and metadata extraction for raster and vector data.

Required features

  • Upload endpoint for datasets.
  • Save original file unchanged.
  • Compute checksum.
  • Detect raster vs vector.
  • Extract raster metadata with Rasterio.
  • Extract vector metadata with GeoPandas/Fiona.
  • Store metadata in dataset record.
  • Generate basic preview for raster if feasible.
  • Add tests with small fixtures.

Rules

  • Do not require external production datasets for tests.
  • Use small test fixtures.
  • If GDAL/Rasterio dependency issues exist, document clearly and keep code structured.
  • Do not fake metadata.