SDK JS
    Preparing search index...

    Main-thread I3sPointCloudDecoder for native Esri I3S point-cloud (PCSL) services, backed by the turbo-lepcc wasm. Decodes a node's LEPCC geometry + attribute blobs, then projects and requantizes them into the engine's shared ENU grid as a PackedPointTile. Inject it into a higher-level consumer (the @bitruvius/i3s engine / the @bitruvius/sdk-maplibre I3S point-cloud layer) rather than calling decode directly; prefer WorkerLepccI3sPointCloudDecoder to keep decode off the main thread.

    import { LepccI3sPointCloudDecoder } from '@bitruvius/turbo-lepcc';
    import { I3sPointCloudLayer } from '@bitruvius/sdk-maplibre';

    // Inject the decoder seam into the MapLibre I3S point-cloud layer.
    map.addLayer(new I3sPointCloudLayer(serviceUrl, {
    decoder: new LepccI3sPointCloudDecoder(),
    }));

    Implements

    • I3sPointCloudDecoder
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Decode + project one I3S point node into a packed ENU tile.

      Parameters

      • blobs: I3sNodeBlobs

        The node's geometry blob plus its per-attribute blobs, keyed by attribute key; see I3sNodeBlobs.

      • ctx: I3sDecodeContext

        Per-node decode context (node ENU origin, geoid height, grid, attribute layout, CRS); see I3sDecodeContext.

      Returns Promise<PackedPointTile>

      A PackedPointTile — positions quantized into the shared ENU grid plus any decoded color/intensity/LAS attribute channels.

      If the LEPCC geometry or an attribute blob is malformed, or if the decoder wasm fails to initialize.