|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWCSLayer
Provides access to members that create or modify a raster layer.
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.
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 |
---|
void create(String serviceURL, String coverageName, String serviceVersion) throws IOException, AutomationException
Create a WCSLayer from a OGC coverage with service URL and coverage name specified
serviceURL
- The serviceURL (in)coverageName
- The coverageName (in)serviceVersion
- The serviceVersion (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getServiceURL() throws IOException, AutomationException
Get the Service URL that provides the OGC service of the coverage.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getCoverageName() throws IOException, AutomationException
Get the coverage name of the coverage.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getVersion() throws IOException, AutomationException
Gets the OGC WCS version which the coverage is published with.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getTimeout() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTimeout(int pTimeout) throws IOException, AutomationException
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.
pTimeout
- The pTimeout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getResamplingType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setResamplingType(int pResamplingType) throws IOException, AutomationException
ResamplingType controls how the pixels will be resampled when the WCS coverage is returned to the client, the default resampling type is nearest neighbor.
pResamplingType
- A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refresh() throws IOException, AutomationException
Refreshes the changes made to the WCSLayer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |