Files
geointel/docs/CODEX_PHASE_2_PROMPT.md
T
Codex 6ea3586a3e
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled
Initial GeoIntel V1 foundation
2026-06-16 23:36:32 +02:00

33 lines
877 B
Markdown

# 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.