public class ChannelSelectionUpdateStyleVisitor extends DuplicatingStyleVisitor
DuplicatingStyleVisitor
that is used to "reset"
style symbolizer's selection channel order when the GridCoverageReader used to read a coverage
supports band selection. If a reader supports band selection then channel ordering is done by
band selection from the reader, so symbolizer does not need to re-apply selection channel order.
Also, see AbstractGridFormat.BANDS
for the reader band selection parameter
description.
copyFilter, ff, pages, sf, STRICT
Constructor and Description |
---|
ChannelSelectionUpdateStyleVisitor(SelectedChannelType[] channels) |
Modifier and Type | Method and Description |
---|---|
protected ChannelSelection |
copy(ChannelSelection channelSelection) |
static int[] |
getBandIndicesFromSelectionChannels(RasterSymbolizer symbolizer)
Returns an int[] containing the indices of the coverage bands that are used for the
symbolizer's selection channels
|
copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyExpressions, copyFonts, getCopy, setStrict, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public ChannelSelectionUpdateStyleVisitor(SelectedChannelType[] channels)
protected ChannelSelection copy(ChannelSelection channelSelection)
copy
in class DuplicatingStyleVisitor
public static int[] getBandIndicesFromSelectionChannels(RasterSymbolizer symbolizer)
symbolizer
- The input symbolizerCopyright © 1996–2019 Geotools. All rights reserved.