Preflight & class schema

Preflight checks whether sources are usable before spatial or temporal processing. It also writes a reusable class schema that can be edited and fed back into later engines.

Inputs and parameters

ParameterRequired?Meaning / effect
Reference/grid rasterRecommendedUsed to check CRS, extent overlap, pixel size, origin alignment and extremely small/invalid rasters.
Main/reference vector label layerNoMain vector source for class-field checks and class extraction.
Main/reference raster label layerNoMain raster source for raster class-value extraction and grid checks.
Additional vector/raster sourcesNoExtra sources checked against the same reference conventions where possible.
Reference class fieldRequired for vectorsAttribute containing the class/code to burn later. HELIX refuses broad fallback fields such as id or the first attribute.
Class schema file or opened tableNoExisting CSV/JSON/QGIS table schema to validate and merge. Useful for remapping strings/raster IDs.
Treat raster value 0 as classNoUse this for binary/zero-based class rasters where 0 is not background.

Core checks

yout(x) = m(yin(x))

Remapping: the class schema defines the mapping m from source values to target class IDs. This applies to vector attributes and raster pixel values.

overlap = area(ErefEsrc) / area(Eref)

Extent check: Eref is the reference extent and Esrc is the source extent. Very small or zero overlap indicates a wrong CRS, wrong file or wrong study area.

δx = ((x0,srcx0,ref) / Δxref) mod 1
δy = ((y0,srcy0,ref) / Δyref) mod 1

Grid alignment: near-zero offsets mean that source and reference grid origins lie on compatible pixel grids. Misalignment is not always fatal, but it can create categorical resampling artefacts.

Class schema columns

ColumnMeaning
source_value, source_class_id, pixel_value, old_id, fromInput value from vector attribute or raster pixel.
target_class_id, new_class_id, class_id, toOutput class value. Use this for remapping or merging.
class_nameHuman-readable label name.
includeOptional include flag. False/0/no can exclude a class when later engines use “Included in schema”.
quality_qOptional per-class quality prior used by Soft targets & weights.
priorityOptional source/class priority for reportable workflows.

Outputs

OutputUse
Preflight JSONMachine-readable report for scripts and issue tracing.
Preflight HTML reportHuman-readable audit of sources, CRS, grid, classes and warnings.
Class schema CSV/JSONEdit this table to remap classes, names, quality and include flags.