com.esri.arcgis.carto
Interface IWCSLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
WCSLayer

public interface IWCSLayer
extends Serializable

Provides access to members that create or modify a raster layer.

Description

This interface is new at ArcGIS 9.3.

Provide access to the properties and methods of WCS Layer through which an OGC coverage served by a Web Coverage Service (WCS) can be accessed and visualized.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void create(String serviceURL, String coverageName, String serviceVersion)
          Creates a WCS layer from given WCS coverage definition.
 String getCoverageName()
          The WCS coverage name.
 int getResamplingType()
          The request resampling (interpolation) type.
 String getServiceURL()
          The WCS service URL.
 int getTimeout()
          The request timeout value in seconds.
 String getVersion()
          The WCS service version.
 void refresh()
          Refreshes layer once any of layer properies has changed.
 void setResamplingType(int pResamplingType)
          The request resampling (interpolation) type.
 void setTimeout(int pTimeout)
          The request timeout value in seconds.
 

Method Detail

create

void create(String serviceURL,
            String coverageName,
            String serviceVersion)
            throws IOException,
                   AutomationException
Creates a WCS layer from given WCS coverage definition.

Remarks

Create a WCSLayer from a OGC coverage with service URL and coverage name specified

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
serviceURL - The serviceURL (in)
coverageName - The coverageName (in)
serviceVersion - The serviceVersion (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceURL

String getServiceURL()
                     throws IOException,
                            AutomationException
The WCS service URL.

Remarks

Get the Service URL that provides the OGC service of the coverage.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pServerURL
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageName

String getCoverageName()
                       throws IOException,
                              AutomationException
The WCS coverage name.

Remarks

Get the coverage name of the coverage.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pCoverageName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

String getVersion()
                  throws IOException,
                         AutomationException
The WCS service version.

Remarks

Gets the OGC WCS version which the coverage is published with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVersion
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeout

int getTimeout()
               throws IOException,
                      AutomationException
The request timeout value in seconds.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pTimeout
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeout

void setTimeout(int pTimeout)
                throws IOException,
                       AutomationException
The request timeout value in seconds.

Remarks

Some servers may take a long time to send response back to the client, Timeout property can be set to control how long the client would wait to get the response from the server. By default, the timeout limit is 90 seconds. If the server doesn't send response back to the client within the timeout limit, the WCS coverage layer will not be shown.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pTimeout - The pTimeout (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResamplingType

int getResamplingType()
                      throws IOException,
                             AutomationException
The request resampling (interpolation) type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.geodatabase.rstResamplingTypes constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResamplingType

void setResamplingType(int pResamplingType)
                       throws IOException,
                              AutomationException
The request resampling (interpolation) type.

Remarks

ResamplingType controls how the pixels will be resampled when the WCS coverage is returned to the client, the default resampling type is nearest neighbor.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pResamplingType - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

void refresh()
             throws IOException,
                    AutomationException
Refreshes layer once any of layer properies has changed.

Remarks

Refreshes the changes made to the WCSLayer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.