Package com.luciad.ogc.wcs.client
Class TLcdWCSGetCoverageRequest
java.lang.Object
com.luciad.ogc.wcs.client.TLcdWCSGetCoverageRequest
- All Implemented Interfaces:
ILcdOWSRequest
A WCS
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.- Since:
- 8.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns a key-value pair (KVP) encoding of this request.getRestEncoding
(URI aBaseURI) Returnsnull
, REST encoding is not supported.Returns an object representing data to be used by the transportation layer (seeILcdOWSTransport
) to perform this OGC Web Service request.Returnsnull
.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
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 (seesetResponseCRS(String)
) for the requested coverage.void
setResY
(double aResY) Sets a spatial resolution along the Y axis of the response coordinate reference system (seesetResponseCRS(String)
) for the requested coverage.void
setResZ
(double aResZ) Sets a spatial resolution along the Z axis of the response coordinate reference system (seesetResponseCRS(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 (seeILcdOWSTransport
) to perform this OGC Web Service request.void
setWidth
(int aWidth) Sets a width for the requested coverage.
-
Method Details
-
getTransportData
Returns an object representing data to be used by the transportation layer (seeILcdOWSTransport
) to perform this OGC Web Service request. The type of object and the data contained in it depends on theILcdOWSTransport
object used to perform this request. An example in the case of a HTTP transport connection is a map of request properties (seeURLConnection.getRequestProperties()
) to be used for the request.- Specified by:
getTransportData
in interfaceILcdOWSRequest
- Returns:
- an object representing data to be used by the transportation layer to perform this OGC Web Service request.
-
setTransportData
Sets an object representing data to be used by the transportation layer (seeILcdOWSTransport
) to perform this OGC Web Service request. The type of object and the data contained in it depends on theILcdOWSTransport
object used to perform this request.- Parameters:
aTransportData
- an object representing data to be used by the transportation layer to perform this OGC Web Service request.- See Also:
-
setCoverageName
Sets the coverage name to query.- Parameters:
aCoverageName
- a coverage name- Throws:
NullPointerException
- if the coverage name is null
-
setRequestCRS
Sets the coordinate reference system in which the request is expressed.- Parameters:
aCRS
- the coordinate reference system in which the request is expressed- Throws:
NullPointerException
- if the coordinate reference system is null
-
setResponseCRS
Sets the coordinate reference system in which to express coverage responses.- Parameters:
aCRS
- the coordinate reference system in which to express coverage responses.- Throws:
NullPointerException
- if the coordinate reference system is null
-
setBoundingBox
public void setBoundingBox(double aMinX, double aMaxX) Sets a bounding box to request a subset of the specified coverage. The bounding box should be expressed according to the request coordinate reference system (seesetRequestCRS(String)
).- Parameters:
aMinX
- The minimum X coordinate of the bounding boxaMaxX
- The maximum X coordinate of the bounding box
-
setBoundingBox
public void setBoundingBox(double aMinX, double aMaxX, double aMinY, double aMaxY) Sets a bounding box to request a subset of the specified coverage. The bounding box should be expressed according to the request coordinate reference system (seesetRequestCRS(String)
).- Parameters:
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 box
-
setBoundingBox
public 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. The bounding box should be expressed according to the request coordinate reference system (seesetRequestCRS(String)
).- Parameters:
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 box
-
setTimeInstants
Sets one or more time instants to request a subset of the specified coverage. The time instants are expressed in an extended ISO 8601 syntax.- Parameters:
aTimes
- time instants to request a subset of a coverage- Throws:
NullPointerException
- if the time instant array is null or contains null values
-
setTimeIntervals
Sets one or more time intervals to request a subset of the specified coverage. The time intervals are expressed in an extended ISO 8601 syntax.- Parameters:
aTimeIntervals
- time intervals to request a subset of a coverage- Throws:
NullPointerException
- if the time interval array is null or contains null values
-
setWidth
public void setWidth(int aWidth) Sets a width for the requested coverage.- Parameters:
aWidth
- a width for the requested coverage
-
setHeight
public void setHeight(int aHeight) Sets a height for the requested coverage.- Parameters:
aHeight
- a height for the requested coverage
-
setDepth
public void setDepth(int aDepth) Sets a depth for the requested coverage.- Parameters:
aDepth
- a depth for the requested coverage
-
setResX
public void setResX(double aResX) Sets a spatial resolution along the X axis of the response coordinate reference system (seesetResponseCRS(String)
) for the requested coverage.- Parameters:
aResX
- a spatial resolution along the X axis of the response CRS for the requested coverage
-
setResY
public void setResY(double aResY) Sets a spatial resolution along the Y axis of the response coordinate reference system (seesetResponseCRS(String)
) for the requested coverage.- Parameters:
aResY
- a spatial resolution along the Y axis of the response CRS for the requested coverage
-
setResZ
public void setResZ(double aResZ) Sets a spatial resolution along the Z axis of the response coordinate reference system (seesetResponseCRS(String)
) for the requested coverage.- Parameters:
aResZ
- a spatial resolution along the Z axis of the response CRS for the requested coverage
-
setInterpolation
Sets the interpolation method for resampling coverage values into the desired output grid. This must be one of the values listed in the description of the requested coverage.- Parameters:
aInterpolationMethod
- the interpolation method for resampling coverage values into the desired output grid.- Throws:
NullPointerException
- if the interpolation method is null
-
setFormat
Sets the format that the WCS should use to encode the requested coverage.- Parameters:
aFormat
- the format that the WCS should use to encode the requested coverage.- Throws:
NullPointerException
- if the format is null
-
setParameterConstraintValue
Sets a value-based parameter constraint to request a subset of the specified coverage. The parameter name must match the name of a parameter listed in the range set description of the selected coverage.- Parameters:
aParameterName
- The name of the parameter constraintaValue
- The value for the parameter constraint
-
setParameterConstraintInterval
Sets an interval-based parameter constraint to request a subset of the specified coverage. The parameter name must match the name of a parameter listed in the range set description of the selected coverage.- Parameters:
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 constraint
-
setParameterConstraintInterval
public void setParameterConstraintInterval(String aParameterName, String aMinimum, String aMaximum, String aResolution) Sets an interval-based parameter constraint to request a subset of the specified coverage. The parameter name must match the name of a parameter listed in the range set description of the selected coverage.- Parameters:
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 constraint
-
getKVPEncoding
Returns a key-value pair (KVP) encoding of this request. If no key-value pairs are defined, an empty map should be returned. If no key-value pair encoding is supported for this request,null
should be returned.- Specified by:
getKVPEncoding
in interfaceILcdOWSRequest
- Returns:
- the key-value pair (KVP) representation of this request.
-
getXMLEncoding
Returnsnull
. XML encoding is not supported.- Specified by:
getXMLEncoding
in interfaceILcdOWSRequest
- Returns:
- null
-
getRestEncoding
Returnsnull
, REST encoding is not supported.- Specified by:
getRestEncoding
in interfaceILcdOWSRequest
- Parameters:
aBaseURI
-- Returns:
null
- Since:
- 2013.0
-