Afstanden fra råmateriale til slutbruger præsentation bliver kortere og kortere ...
The distance from the raw data to the end user gets shorter and shorter ...
The image in this example is a 6-band composite Landsat image of the Australian coast. You can use theDojo number spinners to adjust which bands are associated with the Red (R), Green (G), and Blue (B) values in the image. The current combination 3,2,1 shows the true color. If you set your RGB values to correspond to bands 4,3,2 respectively, you'll see vegetation appear in bright red. Other combinations you can try are available at this NASA Landsat page.
You use ImageServiceParameters to set up the image format and Band IDs before you create the layer. If you want to change the band IDs after the layer has already been created, you can useArcGISImageServiceLayer.setBandIds().
A final thing to note about this example is that the image service expects band IDs that are zero-based. So you need to subtract 1 from the value in the number spinner before you set the band value in the service.
Contributed by Sterling Quinn of the ArcGIS Server software development team