require(["esri/layers/WCSConnection"], function(WCSConnection) { /* code goes here */ });
Description
Samples
Search for
samples that use this class.
Constructors
Constants
INTERPOLATION_BILINEAR | Resamples pixel by bilinear interpolation. Value = 1. |
INTERPOLATION_CUBICCONVOLUTION | Resamples pixel by cubic convolution. Value = 2. |
INTERPOLATION_NEARESTNEIGHBOR | Resamples pixel by nearest neighbor. Value = 0. |
Properties
Events
[ On Style Events | Connect Style Event ]
All On Style event listeners receive a single event object. Additionally, the event object also contains a 'target' property whose value is the object which fired the event.
Constructor Details
Creates a new WCSConnection.
Parameters:
<String > url |
Required |
URL to a WCS Server endpoint. |
<Object > options |
Optional |
Optional parameters. See options list below. |
options
properties:
<String > coverageId |
Optional |
The coverage identifier, defaults to the first coverage. |
<String > version |
Optional |
The version of WCSLayer, can be: - 1.0.0
- 1.1.0
- 1.1.1
- 1.1.2
- 2.0.1
|
Sample:
var wcsLayer = new WCSConnection { url: "https://sampleserver6.arcgisonline.com/arcgis/services/ScientificData/SeaTemperature/ImageServer/WCSServer"
};
Property Details
An array of coverages offered by the WCS server.
Multiple dimensional definitions are usually used to filter data.
Sample:
var wcsConn = new WCSConnection();
wcsConn.multidimensionalDefinition = [];
wcsConn.multidimensionalDefinition.push(new DimensionalDefinition({
variableName: "Salinity",
dimensionName: "StdTime",
values: [1259625600000]
}));
The name of the WCS server.
Key-value pairs for URLs of different WCS operations:
- GetCapabilities
- DescribeCoverage
An array of string values indicating WCS 2.0.1 profiles.
An array of supported formats by the server. Only available for WCS versions 1.1.x and 2.0.1.
The interpolation method affects how the raster dataset is transformed when it undergoes warping or when it changes coordinate space. See the constants table for a list of possible interpolation values.
An array of supported WCS versions by the server.
URL to a WCS Server endpoint.
NOTE: It is also possible to pass optional parameters in the URL, for example:
var wcsLayer = new WCSLayer {url: "https://sampleserver6.arcgisonline.com/arcgis/services/ScientificData/SeaTemperature/ImageServer/WCSServer?foo=bar"};
The version of WCSLayer, can be:
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.2
- 2.0.1
Event Details
[ On Style Events | Connect Style Event ]
Triggered when successfully retrieved list of coverages.
Triggered when an error occurred.
Event Object Properties:
<Error > error |
The returned error object. |