@maschinenlesbar.org/nina-warnungen-cli
    Preparing search index...

    Type Alias WarningArea

    WarningArea:
        | {
            featureCount: number;
            features: JsonObject[];
            found: string[];
            notLive: string[];
            polygonCount: number;
            problems: string[];
            status: "ok";
            type: "FeatureCollection";
        }
        | {
            notLive: string[];
            reason: string;
            searched: { ids: string[] };
            status: "empty";
        }

    The answer of getWarningArea: itself a GeoJSON FeatureCollection (with foreign members).

    Type Declaration

    • {
          featureCount: number;
          features: JsonObject[];
          found: string[];
          notLive: string[];
          polygonCount: number;
          problems: string[];
          status: "ok";
          type: "FeatureCollection";
      }
      • featureCount: number
      • features: JsonObject[]
      • found: string[]

        Ids whose geometry is in features.

      • notLive: string[]

        Ids that are no live warning: re-take a fresh id.

      • polygonCount: number
      • problems: string[]

        What is wrong with the geometry, if anything.

      • status: "ok"
      • type: "FeatureCollection"
    • {
          notLive: string[];
          reason: string;
          searched: { ids: string[] };
          status: "empty";
      }