@honua/sdk-js
    Preparing search index...

    Function geoServicesFeatureSource

    • Adapter factory for a GeoServices FeatureServer layer.

      Used internally by createDataset when it sees a descriptor with protocol: "geoservices-feature-service". Calling it directly is rarely necessary; pass the descriptor to createDataset instead.

      Type Parameters

      • T

      Parameters

      Returns CapabilityAwareSource<T>

      const dataset = createDataset({
      id: "parcels",
      client,
      sources: [{
      id: "parcels-fs",
      protocol: "geoservices-feature-service",
      locator: { url: "https://your-honua-server.example", serviceId: "parcels", layerId: 0 },
      capabilities: PROTOCOL_DEFAULT_CAPABILITIES["geoservices-feature-service"],
      }],
      });
      const result = await dataset.source("parcels-fs")!.queryAll({
      outFields: ["OBJECTID", "NAME"],
      pagination: { limit: 500 },
      });