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

    Class OgcApiClient<Server>Abstract

    This class covers the common part of the OGC API standard described in https://docs.ogc.org/is/19-072/19-072.html. It contains shared methods between clients of different OGC API standards. Any OGC API (Maps, Records, Features, STAC...) shall extend this class.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    initialized: boolean
    serverConfig: ServerOgc

    Accessors

    Methods

    • Fetches all paginated resources from the specified URL until the entire dataset is retrieved.

      Parameters

      • url: string | URL
      • fetchOptions: RequestInit

      Returns Promise<any[]>

    • Retrieves a specific link from the OGC API resource based on the given relation and encoding type.

      Parameters

      • relation: string
      • path: string | URL = ...
      • encodingType: string = OgcApiDefaultEncoding

      Returns Promise<string>

    • Load the list of conformance classes, which describe what kind of functionality the server provides.

      Returns Promise<string[]>