Allowing users to select band indices for raster data downloads with WPS

Description

Hello,

when using wps to download raster data, ability to select individual bands from the original raster can be useful. This would be an improvement of the wps-download module for raster in order to reduce download size.

The download process should be extended to have a new optional parameter to select the output bands:

@DescribeParameter(name = "selectedBands", description = "Band indices", min = 0) int[] bandIndices,

If set, the process will perform a band select before generating the output file. In case non existing bands are requested, a clear error message should be reported back to the user. In GeoServer a process that can perform a Band Select on a raster already exists and can be integrated into the current download process execution for raster datasets.

Environment

None

Assignee

Simone Giannecchini

Reporter

Thanassis Mantes

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure