public class TLcdWCSGetCoverageRequest extends Object implements ILcdOWSRequest
GetCoverage
request. Instances of this class can be created using
the TLcdWCSClient.createGetCoverageRequest()
method. This method will ensure
a request object is created that is compatible with the WCS version implemented
by the WCS server.Modifier and Type | Method and Description |
---|---|
Map |
getKVPEncoding()
Returns a key-value pair (KVP) encoding of this request.
|
URI |
getRestEncoding(URI aBaseURI)
Returns
null , REST encoding is not supported. |
Object |
getTransportData()
Returns an object representing data to be used by the transportation layer (see
ILcdOWSTransport )
to perform this OGC Web Service request. |
InputStream |
getXMLEncoding()
Returns
null . |
void |
setBoundingBox(double aMinX,
double aMaxX)
Sets a bounding box to request a subset of the specified coverage.
|
void |
setBoundingBox(double aMinX,
double aMaxX,
double aMinY,
double aMaxY)
Sets a bounding box to request a subset of the specified coverage.
|
void |
setBoundingBox(double aMinX,
double aMaxX,
double aMinY,
double aMaxY,
double aMinZ,
double aMaxZ)
Sets a bounding box to request a subset of the specified coverage.
|
void |
setCoverageName(String aCoverageName)
Sets the coverage name to query.
|
void |
setDepth(int aDepth)
Sets a depth for the requested coverage.
|
void |
setFormat(String aFormat)
Sets the format that the WCS should use to encode the requested coverage.
|
void |
setHeight(int aHeight)
Sets a height for the requested coverage.
|
void |
setInterpolation(TLcdWCSInterpolationMethod aInterpolationMethod)
Sets the interpolation method for resampling coverage values into the desired output grid.
|
void |
setParameterConstraintInterval(String aParameterName,
String aMinimum,
String aMaximum)
Sets an interval-based parameter constraint to request a subset of the specified coverage.
|
void |
setParameterConstraintInterval(String aParameterName,
String aMinimum,
String aMaximum,
String aResolution)
Sets an interval-based parameter constraint to request a subset of the specified coverage.
|
void |
setParameterConstraintValue(String aParameterName,
String aValue)
Sets a value-based parameter constraint to request a subset of the specified coverage.
|
void |
setRequestCRS(String aCRS)
Sets the coordinate reference system in which the request is expressed.
|
void |
setResponseCRS(String aCRS)
Sets the coordinate reference system in which to express coverage responses.
|
void |
setResX(double aResX)
Sets a spatial resolution along the X axis of the response coordinate reference system
(see
setResponseCRS(String) ) for the requested coverage. |
void |
setResY(double aResY)
Sets a spatial resolution along the Y axis of the response coordinate reference system
(see
setResponseCRS(String) ) for the requested coverage. |
void |
setResZ(double aResZ)
Sets a spatial resolution along the Z axis of the response coordinate reference system
(see
setResponseCRS(String) ) for the requested coverage. |
void |
setTimeInstants(String[] aTimes)
Sets one or more time instants to request a subset of the specified coverage.
|
void |
setTimeIntervals(String[][] aTimeIntervals)
Sets one or more time intervals to request a subset of the specified coverage.
|
void |
setTransportData(Object aTransportData)
Sets an object representing data to be used by the transportation layer
(see
ILcdOWSTransport ) to perform this
OGC Web Service request. |
void |
setWidth(int aWidth)
Sets a width for the requested coverage.
|
public Object getTransportData()
ILcdOWSTransport
)
to perform this OGC Web Service request. The type of object and the data contained in it depends on
the ILcdOWSTransport
object used to perform this request.
An example in the case of a HTTP transport connection is a map of request properties
(see URLConnection.getRequestProperties()
) to be used
for the request.getTransportData
in interface ILcdOWSRequest
public void setTransportData(Object aTransportData)
ILcdOWSTransport
) to perform this
OGC Web Service request. The type of object and the data contained in it depends on
the ILcdOWSTransport
object used to perform this request.aTransportData
- an object representing data to be used by the transportation layer
to perform this OGC Web Service request.getTransportData()
public void setCoverageName(String aCoverageName)
aCoverageName
- a coverage nameNullPointerException
- if the coverage name is nullpublic void setRequestCRS(String aCRS)
aCRS
- the coordinate reference system in which the request is expressedNullPointerException
- if the coordinate reference system is nullpublic void setResponseCRS(String aCRS)
aCRS
- the coordinate reference system in which to express coverage responses.NullPointerException
- if the coordinate reference system is nullpublic void setBoundingBox(double aMinX, double aMaxX)
setRequestCRS(String)
).aMinX
- The minimum X coordinate of the bounding boxaMaxX
- The maximum X coordinate of the bounding boxpublic void setBoundingBox(double aMinX, double aMaxX, double aMinY, double aMaxY)
setRequestCRS(String)
).aMinX
- The minimum X coordinate of the bounding boxaMaxX
- The maximum X coordinate of the bounding boxaMinY
- The minimum Y coordinate of the bounding boxaMaxY
- The maximum Y coordinate of the bounding boxpublic void setBoundingBox(double aMinX, double aMaxX, double aMinY, double aMaxY, double aMinZ, double aMaxZ)
setRequestCRS(String)
).aMinX
- The minimum X coordinate of the bounding boxaMaxX
- The maximum X coordinate of the bounding boxaMinY
- The minimum Y coordinate of the bounding boxaMaxY
- The maximum Y coordinate of the bounding boxaMinZ
- The minimum Z coordinate of the bounding boxaMaxZ
- The maximum Z coordinate of the bounding boxpublic void setTimeInstants(String[] aTimes)
aTimes
- time instants to request a subset of a coverageNullPointerException
- if the time instant array is null or contains null valuespublic void setTimeIntervals(String[][] aTimeIntervals)
aTimeIntervals
- time intervals to request a subset of a coverageNullPointerException
- if the time interval array is null or contains null valuespublic void setWidth(int aWidth)
aWidth
- a width for the requested coveragepublic void setHeight(int aHeight)
aHeight
- a height for the requested coveragepublic void setDepth(int aDepth)
aDepth
- a depth for the requested coveragepublic void setResX(double aResX)
setResponseCRS(String)
) for the requested coverage.aResX
- a spatial resolution along the X axis of the response CRS for the requested coveragepublic void setResY(double aResY)
setResponseCRS(String)
) for the requested coverage.aResY
- a spatial resolution along the Y axis of the response CRS for the requested coveragepublic void setResZ(double aResZ)
setResponseCRS(String)
) for the requested coverage.aResZ
- a spatial resolution along the Z axis of the response CRS for the requested coveragepublic void setInterpolation(TLcdWCSInterpolationMethod aInterpolationMethod)
aInterpolationMethod
- the interpolation method for resampling coverage values into the desired output grid.NullPointerException
- if the interpolation method is nullpublic void setFormat(String aFormat)
aFormat
- the format that the WCS should use to encode the requested coverage.NullPointerException
- if the format is nullpublic void setParameterConstraintValue(String aParameterName, String aValue)
aParameterName
- The name of the parameter constraintaValue
- The value for the parameter constraintpublic void setParameterConstraintInterval(String aParameterName, String aMinimum, String aMaximum)
aParameterName
- The name of the parameter constraintaMinimum
- The minimum value of the interval for the parameter constraintaMaximum
- The maximum value of the interval for the parameter constraintpublic void setParameterConstraintInterval(String aParameterName, String aMinimum, String aMaximum, String aResolution)
aParameterName
- The name of the parameter constraintaMinimum
- The minimum value of the interval for the parameter constraintaMaximum
- The maximum value of the interval for the parameter constraintaResolution
- The resolution of the value interval for the parameter constraintpublic Map getKVPEncoding()
null
should be returned.getKVPEncoding
in interface ILcdOWSRequest
public InputStream getXMLEncoding()
null
. XML encoding is not supported.getXMLEncoding
in interface ILcdOWSRequest
public URI getRestEncoding(URI aBaseURI)
null
, REST encoding is not supported.getRestEncoding
in interface ILcdOWSRequest
aBaseURI
- null