Hi Jody,

The raster symbolizer worked. I was able to map any band to either B1 or B2
or B3 using the  <SourceChannelName> tag as shown below.

                 <SourceChannelName>
                        <ogc:Function name="env">
                        <ogc:Literal>B1</ogc:Literal>
                        <ogc:Literal>10</ogc:Literal>
                     </ogc:Function>
                 </SourceChannelName>

Thanks

On Fri, Sep 6, 2019 at 10:30 PM Jody Garnett <jody.garn...@gmail.com> wrote:

> The styling used to visualize the raster controls what bands are displayed
> (specifically raster symbolizer assigns bands to a red, green or blue
> channel).
>
> In GeoServer 2.14 onward you can use expressions to select which band to
> use dynamically - see
> http://blog.geoserver.org/2018/09/24/geoserver-2-14-0-released/
> --
> Jody Garnett
>
>
> On Thu, 5 Sep 2019 at 23:36, Erick Opiyo <osgis....@gmail.com> wrote:
>
>> Hi Geoserver User,
>>
>> I have a multi-band GeoTiff image with 180 bands, with each band
>> representing hourly precipitation layer, I uploaded this layer into
>> Geoserver and enabled both WMS and WCS.
>>
>> For the WCS I'm able to access individual band pixel value using the
>> rangesubset parameter/option.
>>
>> However, I can't seem to find a parameter to access individual band layer
>> from WMS, is this options supported?
>>
>> Regards
>> Erick
>> _______________________________________________
>> 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
>>
>
_______________________________________________
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