* @return
*/
static List<RasterSymbolizer> getRasterSymbolizers(WMSMapContext mc, int layerIndex) {
double scaleDenominator = RendererUtilities.calculateOGCScale(mc.getAreaOfInterest(),
mc.getMapWidth(), null);
MapLayer layer = mc.getLayer(layerIndex);
FeatureType featureType = layer.getFeatureSource().getSchema();
Style style = layer.getStyle();
RasterSymbolizerVisitor visitor = new RasterSymbolizerVisitor(scaleDenominator, featureType);
style.accept(visitor);
return visitor.getRasterSymbolizers();