Files
geointel/contracts/database/domain-model.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

32 lines
987 B
Markdown

# Domain Model Contract
## Core aggregates
### Project
A project is an investigation workspace. It contains areas, datasets, analyses, and exports.
### Area
A spatial polygon or selected administrative unit used to clip and analyze datasets.
### Dataset
A source artifact or external reference. Datasets can be raster, vector, reference, model output, mask, or export.
### AnalysisRun
A tracked execution of a pipeline such as detection, segmentation, QA, clipping, tiling, or index computation.
### Detection
A model-derived feature, usually a georeferenced bounding box or polygon.
### Segmentation
A mask-derived polygon or raster mask output.
### QualityCheck
A comparison between model outputs and reference data such as GRB.
## Geometry rules
- Use SRID 4326 for API-level GeoJSON interchange unless explicitly documented.
- Use projected CRS for area/length calculations when required.
- Store original CRS metadata for every dataset.
- Never calculate area in degrees.