|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IRasterWorkspace2Proxy
public class IRasterWorkspace2Proxy
Provides access to members that control an improved raster workspace.
IRasterWorspace2 is used to access a raster stored in a file system in any supported raster format. To access raster from geodtabase, use IRasterWorkspaceEx interface.
IRasterWorkspace2 interface allows to create a raster dataset in addition to the functionalities provided by the IRasterWorkspace interface.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IRasterWorkspace2Proxy()
|
|
IRasterWorkspace2Proxy(Object obj)
|
protected |
IRasterWorkspace2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
canCopy()
Indicates if this dataset can be copied. |
IDataset |
copy(String copyName,
IWorkspace copyWorkspace)
Copies this workspace to a new workspace with the specified name. |
IRasterDataset |
createRasterDataset(String name,
String format,
IPoint origin,
int columnCount,
int rowCount,
double cellSizeX,
double cellSizeY,
int numBands,
int pixelType,
ISpatialReference spatialReference,
boolean permanent)
Creates a RasterDataset in the workspace given its name. |
boolean |
isWorkspace(String name)
Indicates if the file path specified is a raster workspace. |
IRasterDataset |
openRasterDataset(String name)
Opens a RasterDataset in the workspace given its name. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IRasterWorkspace2Proxy()
public IRasterWorkspace2Proxy(Object obj) throws IOException
IOException
protected IRasterWorkspace2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IRasterDataset openRasterDataset(String name) throws IOException, AutomationException
OpenRasterDataset opens a RasterDataset from a supported file based raster format, such as GRID, Imagine, BMP, TIFF, etc.
openRasterDataset
in interface IRasterWorkspace2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterDataset createRasterDataset(String name, String format, IPoint origin, int columnCount, int rowCount, double cellSizeX, double cellSizeY, int numBands, int pixelType, ISpatialReference spatialReference, boolean permanent) throws IOException, AutomationException
CreateRasterDataset creates a file based raster dataset, the origin, width, and height of the raster dataset must be specified along with other required parameters, the raster dataset with the specified dimension and default pixel values will be created . The default pixel values of the raster dataset can be modified by writting pixel blocks to the dataset or mosaicking.
CreateRasterDataset can be used to create GRID, TIFF, ERDAS Imagine,BMP, Idrisi format, and in memory raster. The strings used to specify formats are "GRID", "TIFF", "IMAGINE Image", "BMP", "RST", and "MEM" respectively. The strings are case-sensitive.
For GRID format, CreateRasterDataset only allows square cell size.
When creating an in memory raster, the file name can be an empty string.
createRasterDataset
in interface IRasterWorkspace2
name
- The name (in)format
- The format (in)origin
- A reference to a com.esri.arcgis.geometry.IPoint (in)columnCount
- The columnCount (in)rowCount
- The rowCount (in)cellSizeX
- The cellSizeX (in)cellSizeY
- The cellSizeY (in)numBands
- The numBands (in)pixelType
- A com.esri.arcgis.geodatabase.rstPixelType constant (in)spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in, optional, pass 0 if not required)permanent
- The permanent (in, optional, pass true if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isWorkspace(String name) throws IOException, AutomationException
isWorkspace
in interface IRasterWorkspace2
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canCopy() throws IOException, AutomationException
canCopy
in interface IRasterWorkspace2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataset copy(String copyName, IWorkspace copyWorkspace) throws IOException, AutomationException
Not implemented.
copy
in interface IRasterWorkspace2
copyName
- The copyName (in)copyWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
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 |