|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConversionOp
Provides access to members that convert between raster and feature data.
Method Summary | |
---|---|
IGeoDataset |
rasterDataToLineFeatureData(IGeoDataset dataset,
IWorkspace pWorkspace,
String name,
boolean zeroAsBackground,
boolean weeding,
Object minDangle)
Convert raster data to feature data (FeatureClass or FeatureDataset). |
IGeoDataset |
rasterDataToPointFeatureData(IGeoDataset dataset,
IWorkspace pWorkspace,
String name)
Convert raster data to feature data (FeatureClass or FeatureDataset). |
IGeoDataset |
rasterDataToPolygonFeatureData(IGeoDataset dataset,
IWorkspace pWorkspace,
String name,
boolean weeding)
Convert raster data to feature data (FeatureClass or FeatureDataset). |
IGeoDataset |
toFeatureData(IGeoDataset dataset,
int geometryType,
IWorkspace pWorkspace,
String name)
Convert to feature data (FeatureClass or FeatureDataset). |
IRasterDataset |
toRasterDataset(IGeoDataset dataset,
String rasterFormat,
IWorkspace pWorkspace,
String name)
Convert to a RasterDataset. |
Method Detail |
---|
IRasterDataset toRasterDataset(IGeoDataset dataset, String rasterFormat, IWorkspace pWorkspace, String name) throws IOException, AutomationException
dataset |
Input featureclass, featureclassdescriptor, featurelayer to be converted to raster |
rasterFormat |
ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for rasterformat are "GRID", "IMAGINE Image" and "TIFF" respectively and they are case sensitive. The format string “GRID” creates an output ESRI GRID with no file extension The format string "TIFF" creates a TIFF file with ".tif" extension. ArcGIS also supports TIFF format with ".tiff" and ".tff" extensions. A format string "TIF" creates a TIFF file with ".tiff" extention and a format string "TFF" creates a TIFF file with ".tff" extension The format string “IMAGINE Image” creates a raster output with “.img” file extension |
pWorkspace |
an object specifying the directory or subdirectory to contain the output rasterdataset |
name |
The name of the output raster dataset |
dataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)rasterFormat
- The rasterFormat (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeoDataset toFeatureData(IGeoDataset dataset, int geometryType, IWorkspace pWorkspace, String name) throws IOException, AutomationException
dataset |
the input Raster, RasterDataset, RasterBand, or RasterDescriptor to be converted to feature class |
geometryType |
The constant value specifying the shape type for the feature class. This shape type can be one of the following esriGeometryType. esriGeometryPoint esriGeometryPolyline esriGeometryPolygon |
pWorkspace |
an object specifying the directory or subdirectory to contain the output feature class |
name |
The name of the output feature class |
dataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)geometryType
- A com.esri.arcgis.geometry.esriGeometryType constant (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeoDataset rasterDataToPointFeatureData(IGeoDataset dataset, IWorkspace pWorkspace, String name) throws IOException, AutomationException
dataset |
the input Raster, RasterDataset, RasterBand, or RasterDescriptor to be converted to feature class |
pWorkspace |
an object specifying the directory or subdirectory to contain the output feature class |
name |
The name of the output feature class |
dataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeoDataset rasterDataToPolygonFeatureData(IGeoDataset dataset, IWorkspace pWorkspace, String name, boolean weeding) throws IOException, AutomationException
dataset |
the input Raster, RasterDataset, RasterBand, or RasterDescriptor to be converted to feature class |
pWorkspace |
an object specifying the directory or subdirectory to contain the output feature class |
name |
The name of the output feature class |
weeding |
a Boolean specifying whether or not a weed tolerance will by used If FALSE, no weeding is done If TRUE, the featureclass is weeded to reduce the number of vertices. The WEED option uses an algorithm designed specifically for raster-to-vector conversion not the Douglas-Puecker algorithm. |
dataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)weeding
- The weeding (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGeoDataset rasterDataToLineFeatureData(IGeoDataset dataset, IWorkspace pWorkspace, String name, boolean zeroAsBackground, boolean weeding, Object minDangle) throws IOException, AutomationException
dataSet |
the input Raster, RasterDataset, RasterBand, or RasterDescriptor to be converted to feature class |
pWorkspace |
an object specifying the directory or subdirectory to contain the output feature class |
name |
The name of the output feature class |
zeroAsBackground |
a Boolean specifying the cell value that will identify the background cells. The raster is viewed as a set of foreground cells and background cells. The linear features are formed from the foreground cells. If TRUE, the background is composed of cells of zero or less, or nodata. All cells whose value is greater than zero are the foreground. If FALSE, the background is composed of NoData cells. All cells with valid values belong to the foreground. |
weeding |
a Boolean specifying whether or not a weed tolerance will by used If FALSE, no weeding is done If TRUE, the featureclass is weeded to reduce the number of vertices. The WEED option uses the Douglas-Puecker algorithm. |
minDangle |
Minimum length of dangling polylines that will be retained. The default is zero. |
dataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)pWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)name
- The name (in)zeroAsBackground
- The zeroAsBackground (in)weeding
- The weeding (in)minDangle
- A Variant (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 |