We changed from geoserver version 2.3.5 to 2.4.5 - ... and our mosaic geotif
layers seems to be 'empty'. The new version interprets the sld definitions
in an other way, so that the existing black raster is not transformed?? 

Our geotif:
...
Band 1 Block=512x512 Type=Byte, ColorInterp=Palette
  NoData Value=0
  Color Table (RGB with 256 entries)
    0: 255,255,255,255
    1: 0,0,0,255
    2: 0,0,0,255
    3: 0,0,0,255
    ...

Our layer definition:
...
AllowMultithreading: true
BackgroundValues: (empty)
Filter: (empty)
FootprintBehavior: None
InputTransparentColor: FFFFFF
MaxAllowedTiles: -1
MergeBehavior: FLAT
OutputTransparentColor: (empty)
SORTING: (empty)
SUGGESTED_TILE_SIZE: 512,512
USE_JAI_IMAGEREAD: false
...

Our sld (change color to orange):
...
          <RasterSymbolizer>
            <Opacity>1.0</Opacity>
            <ChannelSelection> 
              <GrayChannel> 
                <SourceChannelName>1</SourceChannelName> 
              </GrayChannel> 
            </ChannelSelection> 
            <ColorMap type="values" extended="false"> 
              <ColorMapEntry color="#ff6600" quantity="1" label="1"
opacity="1" /> 
              <ColorMapEntry color="#ffffff" quantity="0" label="0"
opacity="0" /> 
            </ColorMap> 
          </RasterSymbolizer>
...

I'd appreciate any tips - thanks!!
Wolfram



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoServer-2-4-5-SLD-raster-question-tp5128778.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to