@maschinenlesbar.org/strahlenschutz-cli
    Preparing search index...

    Type Alias StationsMap

    StationsMap:
        | {
            features: MapFeature[];
            leftOff: {
                coordinates: JsonValue;
                kenn: string;
                name: string;
                status: string;
            }[];
            nextOffset?: number;
            notes: string[];
            searched: AreaSearched & { includeDead: boolean };
            status: "ok";
            total: number;
            type: "FeatureCollection";
            valueRange?: { max: number; min: number };
            withoutValue: { count: number; kept: boolean };
        }
        | {
            candidates: StationSummary[];
            reason: string;
            searched: AreaSearched;
            status: "ambiguous";
            total: number;
        }
        | {
            reason: string;
            searched: AreaSearched & { includeDead?: boolean };
            status: "empty";
        }

    The answer of getStationsMap.

    Type Declaration

    • {
          features: MapFeature[];
          leftOff: {
              coordinates: JsonValue;
              kenn: string;
              name: string;
              status: string;
          }[];
          nextOffset?: number;
          notes: string[];
          searched: AreaSearched & { includeDead: boolean };
          status: "ok";
          total: number;
          type: "FeatureCollection";
          valueRange?: { max: number; min: number };
          withoutValue: { count: number; kept: boolean };
      }
      • features: MapFeature[]
      • leftOff: { coordinates: JsonValue; kenn: string; name: string; status: string }[]

        Stations whose coordinates lie outside Germany (or aren't numbers): left off, named.

      • OptionalnextOffset?: number
      • notes: string[]
      • searched: AreaSearched & { includeDead: boolean }
      • status: "ok"
      • total: number

        Points on the map in all (every page).

      • type: "FeatureCollection"
      • OptionalvalueRange?: { max: number; min: number }

        The values' range: clamp a colour ramp to it.

      • withoutValue: { count: number; kept: boolean }

        Stations without a value, dropped (includeDead false) or kept with value null.

    • {
          candidates: StationSummary[];
          reason: string;
          searched: AreaSearched;
          status: "ambiguous";
          total: number;
      }
    • {
          reason: string;
          searched: AreaSearched & { includeDead?: boolean };
          status: "empty";
      }