@geogirafe/lib-geoportal
    Preparing search index...

    Class WfsClient<WfsXmlTypes>

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    featureNS: string
    featureNsWithPrefix: Record<string, string> = {}
    featurePrefix: string
    maxFeatures: number
    ogcServer: ServerOgc
    version: string = '1.1.0'

    Methods

    • Parameters

      • xml: Document

      Returns Record<string, string>

    • Sends a GetFeature request to a WFS endpoint based on provided options and parses the received GML answer.

      Parameters

      • getFeatureOptions: WriteGetFeatureOptions

      Returns Promise<Feature<Geometry>[]>