Function geoServicesGeometryServiceSource

  • Build a Source over an Esri-style Geometry Service endpoint. Geometry Service is a stateless utility — it does not host features — so the query family throws HonuaCapabilityNotSupportedError and operations (buffer, project, simplify, etc.) live behind Source.protocol("geoservices-geometry-service").

    Type Parameters

    • T

    Parameters

    Returns CapabilityAwareSource<T>

    const geom = dataset.source("geom")!.protocol("geoservices-geometry-service");
    const projected = await geom?.project({
    inSr: 4326,
    outSr: 3857,
    geometries: [{ x: -158, y: 21 }],
    });