Georeferencing API
    Preparing search index...

    Function loadWfsPages

    • Load bounded WFS GetFeature pages with a format-specific parser. Handles the resolution guard, page/feature budgets, capability validation, deduplication by feature ID and explicit partial-result reporting; map adapters supply the parser.

      Type Parameters

      • T

      Parameters

      • provider: WfsReference

        Service and request configuration.

      • query: Query

        Bounds in provider.requestCrs, map resolution and cancellation signal.

      • parse: (text: string) => WfsPage<T>

        Parse one response body. Throw for malformed responses.

      • id: (item: T) => unknown

        Read a feature's service ID, or its idProperty value.

      • setId: (item: T, id: string) => void

        Store the normalized string ID on the feature.

      Returns Promise<{ items: T[]; message?: string; partial: boolean }>

      "@georeferencing/core".GeoreferenceError For invalid budgets, capability mismatches, missing IDs or service errors.