Class HonuaWfsStoredQuery

Bound stored-query handle. execute(params) runs GetFeature?storedquery_id=….

Constructors

Properties

Methods

Constructors

Properties

id: string
root: HonuaWfs

Methods

  • Run DescribeStoredQueries for this stored query. Returns the raw XML.

    Parameters

    • Optionaloptions: {
          signal?: AbortSignal;
      }
      • Optionalsignal?: AbortSignal

    Returns Promise<{
        contentType: string;
        text: string;
    }>

  • Execute the stored query against GetFeature. Caller passes the stored-query parameter map; values are coerced to strings via String(value). Returns parsed JSON when the server replies with a JSON output format, raw text otherwise.

    Parameters

    • params: {
          count?: number;
          outputFormat?: string;
          parameters?: Record<string, string | number | boolean>;
          signal?: AbortSignal;
          startIndex?: number;
      }
      • Optionalcount?: number
      • OptionaloutputFormat?: string
      • Optionalparameters?: Record<string, string | number | boolean>
      • Optionalsignal?: AbortSignal
      • OptionalstartIndex?: number

    Returns Promise<{
        contentType: string;
        data: unknown;
        kind: "json";
    } | {
        contentType: string;
        kind: "raw";
        text: string;
    }>