Hello all,
We recently upgraded from GeoServer 2.3.5 to version 2.5.0 and are experiencing 
some issues with our ImageMosaic layers.  Previously, the data was exposed as 
PALETTE_INDEX values which allowed us to style the data on the fly using custom 
SLDs.  After upgrading, however, GeoServer identifies this data as RGBA which 
prevents our custom styling.  The coverageDimension is defined as a 
PALETTE_INDEX, but GeoServer appears to ignore this.  Is there any way to force 
the PALETTE_INDEX on the existing data or do we need to re-encode the rasters 
somehow?

The rasters are stored as single band 8-bit png files.  Here is a snippet from 
the gdalinfo:
Coordinate System is `'
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 2859.0)
Upper Right ( 4944.0,    0.0)
Lower Right ( 4944.0, 2859.0)
Center      ( 2472.0, 1429.5)
Band 1 Block=4944x1 Type=Byte, ColorInterp=Palette
  NoData Value=0
  Color Table (RGB with 256 entries)
    0: 0,0,0,0
    1: 0,240,240,255
    2: 0,144,144,255
...

Any help would be appreciated.
Thanks,

Kevin M. Weiss
Software Engineer
HARRIS IT Services
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to