`标签下的类型,默认是`coverage`原来的格式;
`dimensionSubset`由一组`coverage`的`dimension`设置的子集规则(`subseting specifications`)组成。
DimensionSubset structure
| name | definition | data type | Multiplicity |
| --------- | --------------------------------------- | --------- | -------------- |
| dimension | Name of dimension along which to subset | NCName | one(mandatory) |
> 一个`GetCoverage`请求中最多包含一个`subsetibt`操作,且每个`dimension`维度最多包含一个针对`coverage`的的`subsetting`操作。常见的`dimension`有:
>
> - 地理坐标的经纬度(dimension=Long,dimension=Lat)
> - 投影坐标的XY轴(dimension=E,dimension=N)
根据`dimensionSubset`是裁剪还是分割操作,其对应了两个子类:
- `DimensionTrim`
- `DimensionSlice`
#### 3.3.1 `DimensionTrim`
`DimensionTrim`有`trimLow`和`trimHigh`两个属性,用来指定某个维度`dimension`下的裁剪区间,但不能超过`coverage`原始数据的` gml:Envelope`范围。比如`coverage`在x轴下的最大值为H,最小值为L,则有L<=`trimLow`<=`trimHigh`<=H。
示例:
```xml
nurc__mosaic
Long
8
10
Lat
38.5
43.5
http://www.opengis.net/def/crs/EPSG/0/4326
```
#### 3.3.2 `DimensionSlice`
`Dimension`有一个`slicePoint`属性,用来指定某个`dimension`维度分割的位置点,但不能超过`coverage`中`gml:Envelope`的范围。
这里没有找到相关操作示例。
#### 3.3.3 服务扩展
**Range Subsetting Extension**
该扩展定义了从WCS服务器提供的`coverage`中检索选定的`range`组件.
选择是基于`coverage`中定义的`range type`,其中由可识别的组件(\)给出。在某些域中,这些`range`组件定义的`range type`称为“通道”、“波段”或“变量”。
> **RangeSubset**: Used to select a subset of coverage fields to the dataset.
>
> **Subset**: Trim or slice a dimension when fetching data from the server
示例:
以GeoServer自带的`nurc:mosaic`图层为示例数据,我们可以在`编辑图层`中看到`Coverage`波段详情:

1. 选择`RED_BAND`波段的子集,即导出的`coverage`为`RED_BAND`单一波段的tiff文件
`http://localhost:8080/geoserver/wcs?SERVICE=WCS&REQUEST=GetCoverage&VERSION=2.0.1&CoverageId=nurc__mosaic&RANGESUBSET=RED_BAND`
## 参考文章
[1] OGC Coverage Implementation Schema http://docs.opengeospatial.org/is/09-146r8/09-146r8.html
[2] Web Coverage Service https://www.ogc.org/standards/wcs
[3] WCS reference https://docs.geoserver.org/latest/en/user/services/wcs/reference.html
[4] OGC® Web Coverage Service Interface Standard -Range Subsetting Extension https://portal.ogc.org/files/12-040