Hi,

We need to be able to provide a grayscale version of one of our map layers, 
however there isn’t an obvious way to do this. It easy to produce a single-band 
grayscale image, e.g.:

<RasterSymbolizer>
    <Opacity>0.6</Opacity>
    <ChannelSelection>
        <GrayChannel>
            <SourceChannelName>1</SourceChannelName>
        </GrayChannel>
    </ChannelSelection>
</RasterSymbolizer>

However I need to include all bands. Is there a way to do this using an SLD 
without pre-processing the data? The image is RGB.

Thanks,

Jon



Jon Britton
Software Engineer, Delivery Team

0121 232 8007
07920101956

jon.brit...@field-dynamics.co.uk



[cid:image746c03.PNG@3a69d2d9.448bc7ba]<http://www.field-dynamics.co.uk>


<http://www.linkedin.com/company/dotted-eyes><https://twitter.com/field_dynamics>
[cid:imageaec340.PNG@94d5ddb0.48acb735]<https://twitter.com/field_dynamics>     
[cid:image334c27.PNG@823474d1.439bd50e] 
<https://www.linkedin.com/company/field-dynamics-consultancy>


 T: +44 (0) 121 232 8050 |  E: i...@field-dynamics.co.uk |  W: 
www.field-dynamics.co.uk<http://field-dynamics.co.uk>




Field Dynamics is a trading name of Dotted Eyes Solutions Ltd. Registered 
office: 67-71 Northwood Street, Birmingham, B3 1TX. Company registration 
number: 9506624.

This message may contain confidential and privileged information. If you are 
not the intended recipient, please accept our apologies. Please do not 
disclose, copy or distribute information in this email or take any action in 
reliance on its contents: to do so is strictly prohibited and may be unlawful. 
Please inform us that this message has gone astray before deleting it. Dotted 
Eyes Solutions Limited have taken precautions to minimize the risk of 
transmitting software viruses, however we advise you to carry out your own 
virus checks on any attachment to this message.



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to