A format class representing the Bil format.
At the moment, only single band BIL format are supported and it is tested only on IGN elevation WMS layers.
Example usage:
// Create an elevation sourceconst 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); Copy
// Create an elevation sourceconst 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.
Readonly
Decode a Bil blob into a DataTexture containing the elevation data. At the moment only one band BIL is supported.
the data to decode
the decoding options
Generated using TypeDoc
A format class representing the Bil format.
At the moment, only single band BIL format are supported and it is tested only on IGN elevation WMS layers.
Example usage:
See it in action.