IFClite TypeScript API
    Preparing search index...

    Interface CheckOptions

    The clearance margin, derived from stated uncertainties:

    m = max(floor, 2 * sqrt(sigmaTerrain^2 + classResolution^2 + sigmaGeoreference^2))

    • sigmaTerrain: the terrain source's own 1-sigma vertical accuracy (TerrainSource.verticalAccuracy). swissALTI3D states 0.3 m (new LiDAR), 0.5 m (older LiDAR, below 2,000 m) and 1 to 3 m (stereo correlation, above 2,000 m).
    • classResolution: 0.25 m, the span of the bounded BAFU depth classes (0 to 0.25 m in two steps): the map cannot say more finely where in that range the water stands, and its 2 m smoothed terrain is not the terrain sampled here.
    • sigmaGeoreference: 1-sigma vertical error of the model's height reference (OrthogonalHeight, the ground storey, the threshold). Nothing in a model shows whether its height reference was surveyed, so the default is a conservative 0.5 m (an estimated map conversion). A caller who knows the height reference is surveyed states it with georeferenceVerticalUncertainty (for example 0.05 m): that is supplying information, and the basis is recorded as stated-by-caller.
    • floor: 0.5 m, or the caller's clearanceMargin when larger. A caller can raise the margin, never lower it below the derived value.

    Twice the root-sum-square is a two-sigma bound under independent, normal errors. Without a stated terrain accuracy there is nothing to size the margin with, so the favourable outcome is not given at all.

    interface CheckOptions {
        anchorTolerance?: number;
        classResolution?: number;
        clearanceMargin?: number;
        georeferenceVerticalUncertainty?: number;
        heightPlausibility?: PlausibilityOptions;
        otherBuildings?: OtherBuildingFootprints;
        renderingConfirmation?: RenderingConfirmation;
    }

    Hierarchy (View Summary)

    Index
    anchorTolerance?: number

    An element whose position lies further than this inside the footprint outline (metres) is anchored on the outline, but the ground there may not be the ground in front of it: no favourable outcome. Default 1.0; may only be lowered.

    classResolution?: number

    Depth resolution of the map's classes, metres. Default 0.25; may only be raised.

    clearanceMargin?: number

    Minimum clearance margin in metres; raises the floor of 0.5 m, never lowers it.

    georeferenceVerticalUncertainty?: number

    1-sigma vertical error of the model's height reference, metres, as the caller knows it (for example 0.05 for a surveyed map conversion). Default 0.5 when not stated: nothing in the model shows it was surveyed.

    heightPlausibility?: PlausibilityOptions

    The band the ground storey must lie in, and the entry tolerance; see plausibility.ts.

    otherBuildings?: OtherBuildingFootprints

    Other buildings' footprints around the checked one, in the map's CRS. Without them (or when they are not complete) transparent samples are unknown: no element is no-runoff-mapped, and above-mapped-class-range needs every sample to show a class (other-buildings-unknown).

    renderingConfirmation?: RenderingConfirmation

    The provider's answer to a rendering check. Required for a no-runoff-mapped outcome when the whole raster is transparent; without a confirmation such elements are unclassified (layer-not-confirmed), and so they are when its reference was fetched more than 5 minutes apart from the raster (layer.ts).