Function geoServicesImageSource

  • Build a Source over an Esri-style ImageServer endpoint. The query surface drives the raster catalog (each row is a raster with footprint geometry); image export, identify, and tile operations live behind Source.protocol("geoservices-image-service").

    Type Parameters

    • T

    Parameters

    Returns CapabilityAwareSource<T>

    const dataset = createDataset({
    id: "imagery",
    client,
    sources: [{
    id: "naip",
    protocol: "geoservices-image-service",
    locator: { url: "https://your-honua-server.example", serviceId: "naip" },
    capabilities: PROTOCOL_DEFAULT_CAPABILITIES["geoservices-image-service"],
    }],
    });
    const img = dataset.source("naip")!.protocol("geoservices-image-service");
    const png = await img?.exportImage({ bbox: [-158.5, 21.2, -157.6, 21.7], size: [512, 512] });