I have some 16-bit rasters (MrSID) that I want displayed in Geoserver 2.0.2
but they are displaying as all black. If I create a new style similar to the
default raster.sld but with graychannel element the images display
correctly. My question: Is there a way to modify the default raster.sld so
that it handles BOTH RGB and grayscale images (8 and 16-bit)?

The images are being uploaded via REST and the user doesn't know the
bit-depth or channel composition of the images beforehand.  If there is a
mechanism to inspect the image and alter the style after upload I might be
able to go that route as well.

Thanks
Mike
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to