[Geoserver-users] Accessing Individual Band layer with WMS

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

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

Hi Jody,

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

B1 10

Thanks

On Fri, Sep 6, 2019 at 10:30 PM Jody Garnett <jody.garnett@anonymised.com.84…> 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.dev@anonymised.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:

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