require(["esri/layers/ogc/wcsUtils"], (wcsUtils) => { /* code goes here */ });
import * as wcsUtils from "@arcgis/core/layers/ogc/wcsUtils.js";
esri/layers/ogc/wcsUtils
Provides utility functions for the WCSLayer.
- See also
Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Promise<WCSCapabilities> | Fetches the capabilities metadata offered by the WCS service, including supported versions and coverages information. | wcsUtils |
Method Details
-
getCapabilities
getCapabilities(url, options){Promise<WCSCapabilities>}
-
Fetches the capabilities metadata offered by the WCS service, including supported versions and coverages information.
ParametersSpecificationurl StringThe URL to the WCS service endpoint.
options ObjectoptionalSpecificationversion "1.0.0"|"1.1.0"|"1.1.1"|"1.1.2"|"2.0.1"optionalThe version of the WCS service.
customParameters ObjectoptionalA list of key-value pairs of parameters to append to the url.
signal AbortSignal|null|undefinedoptionalAn AbortSignal to abort the executions of the remote method. If canceled, the promise will be rejected with an error named
AbortError
. See also AbortController.ReturnsType Description Promise<WCSCapabilities> The WCS Capabilities for the service. Exampleconst capabilities = await wcsUtils.getCapabilities(url); // use capabilities information
Type Definitions
-
Coverage information associated with a WCS service.
-
A list of URLs for the WCS service resources. It is necessary for a WCS client to communicate correctly with your WCS service.
-
WCS service information about the available coverages, versions, extensions and more.
- Properties
-
name String
Name of the WCS service.
onlineResources OnlineResourcesOnline resources for the WCS service.
coverages CoverageBrief[]Information about the available coverages.
gridCoverages CoverageBrief[]Information about the available grid coverages.
The versions supported by the WCS service.
version "1.0.0"|"1.1.0"|"1.1.1"|"1.1.2"|"2.0.1"The WCS service version.
optional Formats supported by the WCS service.
optional Application profiles supported by the WCS service.
optional Interpolations supported by the WCS service.
- See also