E8121
Error code: the run stops before anything is written. Raised by: indicators.
Cause
step "<step>": row <row> of input "<input>": column <column> <problem>
Fix
Each record needs a position (lon and lat) inside exactly one boundary of the boundaries input, and each boundary a unique unit_id and a WKT POLYGON or MULTIPOLYGON in longitude-latitude order (OGC:CRS84). Set unmatched = "drop" on "<step>" to leave out records without a position or outside every boundary, select one level with level when the boundary table holds several, or correct the boundary table so that its polygons do not overlap, or set overlap = "first_by_unit_id" to give a record inside several boundaries the smallest unit_id (DR-157 b; the step report counts them). Rows are counted from 1.
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
error[E8121]: step "<step>": row <row> of input "<input>": column `<column>` <problem>
--> <file>:<line>:<column>
= fix: Each record needs a position (lon and lat) inside exactly one boundary of the `boundaries` input, and each boundary a unique unit_id and a WKT POLYGON or MULTIPOLYGON in longitude-latitude order (OGC:CRS84). Set `unmatched = "drop"` on "<step>" to leave out records without a position or outside every boundary, select one level with `level` when the boundary table holds several, or correct the boundary table so that its polygons do not overlap, or set `overlap = "first_by_unit_id"` to give a record inside several boundaries the smallest unit_id (DR-157 b; the step report counts them). Rows are counted from 1.
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
step, row, input, column, problem.
Generated from schemas/messages/en.toml. Do not edit. This page (code E8121) is built from the engine sources at every documentation build. To change it, edit the E8121 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.