This sample shows two multi-spectral rasters of Las Vegas on top of each-other. The two datasets are from 2000 and 2003, and the sample allows you to instantly compare the two using a slider.
The raster data is served over WMS by a LuciadFusion server. The data is not pre-processed. The selected bands are sent to the WMS server using SLD.
The band selection is passed to the WMS server using the SLD_BODY parameter of the WMS request. It contains an SE <RasterSymbolizer> tag with SE <ChannelSelection> .
See WMSTileSetModel . sldBody and WMSImageModel . sldBody .
The cross-fade slider makes use of the RasterTileSetLayer . rasterStyle functionality.