public abstract class ALcdWMSDimension extends Object
This class is a direct representation of the dimension concept introduced in the OGC WMS specification. A WMS dimension is used to parametrize a layer according to a certain dimension. Clients can then request a layer for a given dimension value. Common dimension examples are time and elevation, to respectively represent time-dependent and altitude-dependent data.
A dimension is identified by a name
. The properties units
and unit symbol
describe the unit in which the dimension is represented (e.g. seconds or feet).
The values that a client can use for the dimension are described by the extent
property.
The extent can be either a continuous value interval or a set of discrete values (or a combination).
Constructor and Description |
---|
ALcdWMSDimension() |
Modifier and Type | Method and Description |
---|---|
abstract TLcdWMSDimensionExtent |
getDefaultValue()
Returns the default value that will be used if a
GetMap request
does not specify a value. |
abstract TLcdWMSDimensionExtent |
getExtent()
Returns the extent of this dimensional parameter.
|
abstract String |
getName()
Returns the name of the dimensional parameter.
|
abstract String |
getUnits()
Returns the units of the dimensional parameter.
|
abstract String |
getUnitSymbol()
Returns the unit symbol of the dimensional parameter.
|
abstract boolean |
isCurrent()
This property is only valid for temporal extents (e.g. time), and indicates
whether (a) temporal data are normally kept current and (b) whether the request parameter
TIME may include the keyword 'current' instead of an ending value.
|
abstract boolean |
isMultipleValues()
Returns whether multiple values of the dimensional parameter may be requested.
|
abstract boolean |
isNearestValue()
Returns whether the nearest value of the dimensional parameter will be returned
in response to a request for a nearby value.
|
public abstract String getName()
public abstract String getUnits()
public abstract String getUnitSymbol()
public abstract TLcdWMSDimensionExtent getDefaultValue()
GetMap
request
does not specify a value. If not specified, a service exception will
be sent to the client if the request does not include a value for that dimension.GetMap
request
does not specify a value.public abstract TLcdWMSDimensionExtent getExtent()
public abstract boolean isMultipleValues()
public abstract boolean isNearestValue()
public abstract boolean isCurrent()
TIME
may include the keyword 'current' instead of an ending value.