WCS 1.0.0 GetCoverage Ignores Elevation and Custom Dimension Parameters

Description

The KvpUtils class in org.geoserver.ows.util parses incoming parameters as an ArrayList of values. The Wcs10GetcoverageRequestReqder in org.geoserver.wcs.kvp performs a check in the checkTypeAxisRange method for the type of the incoming parameter.

The bug occurs because the checkTypeAxisRange method assumes the incoming parameter Object can only be of type String, Integer, or Double. As it is always of type ArrayList no submitted Elevation parameter is ever used and the default elevation is always returned instead.

Environment

None

Status

Assignee

Steve Ikeoka

Reporter

David B Marks

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure