Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description sourcesArray.<module:ol/source/GeoTIFF~SourceInfo> List of information about GeoTIFF sources. Multiple sources can be combined when their resolution sets are equal after applying a scale. The list of sources defines a mapping between input bands as they are read from each GeoTIFF, and the output bands that are provided by data tiles. To control which bands to read from each GeoTIFF, use the
bandsproperty. If, for example, you spedify two sources, one with 3 bands andnodataconfigured, and another with 1 band, the resulting data tiles will have 5 bands: 3 from the first source, 1 alpha band from the first source, and 1 band from the second source. -
SourceInfo{Object}
-
Properties:
Name Type Argument Default Description urlstring URL for the source GeoTIFF.
overviewsArray.<string> <optional>
List of any overview URLs.
minnumber <optional>
0 The minimum source data value. Rendered values are scaled from 0 to 1 based on the configured min and max.
maxnumber <optional>
The maximum source data value. Rendered values are scaled from 0 to 1 based on the configured min and max.
nodatanumber <optional>
Values to discard. When provided, an additional band (alpha) will be added to the data.
bandsArray.<number> <optional>
Indices of the bands to be read from. If not provided, all bands will be read. If, for example, a GeoTIFF has red, green, blue and near-infrared bands and you only need the infrared band, configure
bands: [3].
OpenLayers