API (v2.0.0) - Giro3D
    Preparing search index...

    Decoder for BIL images.

    At the moment, only single band BIL files are supported and it is tested only on IGN elevation WMS and WMTS layers.

     // Create an elevation source
    const source = new WmsSource({
    url: 'https://data.geopf.fr/wms-r',
    projection: 'EPSG:2154',
    layer: 'ELEVATION.ELEVATIONGRIDCOVERAGE.HIGHRES',
    imageFormat: 'image/x-bil;bits=32',
    format: new BilFormat(),
    });

    const elevationLayer = new ElevationLayer({ source });

    map.addLayer(elevationLayer);

    See it in action.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionaloptions: { enableWorkers?: boolean; workerConcurrency?: number }

        Decoder options.

        • OptionalenableWorkers?: boolean

          Enables processing raster data in web workers.

          true
          
        • OptionalworkerConcurrency?: number

          The maximum number of workers created by the worker pool. If undefined, the maximum number of workers will be allowed.

          undefined
          

      Returns BilFormat

    Properties

    dataType: TextureDataType
    flipY: boolean
    isBilFormat: boolean = ...
    isImageFormat: true = ...
    type: "BilFormat" = ...

    Methods