com.esri.arcgis.geoanalyst
Class RasterConversionOp

java.lang.Object
  extended by com.esri.arcgis.geoanalyst.RasterConversionOp
All Implemented Interfaces:
IConversionOp, IGeoAnalysisEnvironment, IRasterAnalysisEnvironment, IRasterAnalysisGDBEnvironment, IRasterAnalysisGlobalEnvironment, IRasterExportOp, IRasterImportOp, IRasterImportOp2, IRasterOpBase, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, Serializable

public class RasterConversionOp
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterAnalysisEnvironment, IRasterAnalysisGDBEnvironment, IRasterAnalysisGlobalEnvironment, IRasterOpBase, IConversionOp, IRasterImportOp, IRasterImportOp2, IRasterExportOp, ISupportErrorInfo

Esri raster conversion and import operations class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
RasterConversionOp()
          Constructs a RasterConversionOp using ArcGIS Engine.
RasterConversionOp(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterConversionOp theRasterConversionOp = (RasterConversionOp) obj;
 
Method Summary
 void addOutputDatasetName(int index, IDatasetName pOutName)
          Adds an output dataset name to the specified index.
 boolean equals(Object o)
          Compare this object with another
 void exportToASCII(IGeoDataset dataset, String asciiFile)
          Exports a raster dataset to a GRID ASCII file.
 void exportToFloat(IGeoDataset dataset, String floatFile)
          Exports a raster dataset to a Float GRID file.
 void getCellSize(int[] envType, double[] cellSize)
          Gets the type and value of cell size in the RasterAnalysis.
static String getClsid()
          getClsid.
 int getCompressionType()
          The type and value of compression in the RasterAnalysis.
 String getConfigurationKeyword()
          The configuration keyword in the RasterAnalysis.
 String getDefaultOutputRasterPrefix()
          The default output raster prefix.
 String getDefaultOutputVectorPrefix()
          The default output vector prefix.
 void getExtent(int[] envType, IEnvelope[] extent)
          Gets the type and values of extent in the RasterAnalysis.
 ISpatialReference getGDBDomains()
          The XY, Z and M domains in the RasterAnalysis.
 String getIgnoredValue()
          The ignored value in statistics calculation in RasterAnalysis.
 int getJpegQuality()
          Jpeg compression quality in the RasterAnalysis.
 IGeoDataset getMask()
          Mask allows processing to occur only for a selected set of cells.
 int getMosaicType()
          The mosaic type in the RasterAnalysis.
 ISpatialReference getOutSpatialReference()
          The output spatial reference of GeoAnalysis.
 IWorkspace getOutWorkspace()
          The output workspace of GeoAnalysis.
 int getPyramidLevel()
          The level in pyramid building in the RasterAnalysis.
 int getPyramidResampleType()
          The resample type in pyramid building in the RasterAnalysis.
 int getTileHeight()
          The GeoDatabase tile height in the RasterAnalysis.
 int getTileWidth()
          The GeoDatabase tile width in the RasterAnalysis.
 int getVerifyType()
          The verify type of the RasterAnalysis.
 int getXSkipFactor()
          The skip factor in X direction in statistics calculation in the RasterAnalysis.
 int getYSkipFactor()
          The skip factor in Y direction in statistics calculation in the RasterAnalysis.
 int hashCode()
          the hashcode for this object
 IRasterDataset importFromASCII(String asciiFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat, boolean isInteger)
          Imports a GRID ASCII file into a RasterDataset.
 IRasterDataset importFromFLOAT(String floatFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat)
          Imports a Float GRID file into a RasterDataset.
 IRasterDataset importFromUSGSDEM(String demFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat)
          Imports a USGS DEM file into a RasterDataset.
 IRasterDataset importFromUSGSDEM(String demFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat, boolean isInteger, Object zFactor)
          Imports a USGS DEM file into a RasterDataset.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isAvoidDataConversion()
          Indicates weather to avoid data conversion in the RasterAnalysis.
 boolean isBuildPyramid()
          Indicates if the pyramid building in the RasterAnalysis.
 boolean isCalculateStatistics()
          Indicates if the statistics calculation in the RasterAnalysis.
 boolean isGlobeOptimized()
          Indicates if the globe optimized type in the RasterAnalysis.
 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).
 void reset()
          Remove all previously stored default rasteranalysis environments.
 void restoreToPreviousDefaultEnvironment()
          Restores to the previous default raster analysis environment.
 void setAsNewDefaultEnvironment()
          Sets the raster analysis environment of the object as new default environment.
 void setAvoidDataConversion(boolean bAvoid)
          Indicates weather to avoid data conversion in the RasterAnalysis.
 void setBuildPyramid(boolean buildParamid)
          Indicates if the pyramid building in the RasterAnalysis.
 void setCalculateStatistics(boolean calculateStatistics)
          Indicates if the statistics calculation in the RasterAnalysis.
 void setCellSize(int envType, Object cellSizeProvider)
          Sets the type and value of cell size in the RasterAnalysis.
 void setCompressionType(int compressionType)
          The type and value of compression in the RasterAnalysis.
 void setConfigurationKeyword(String configKeyword)
          The configuration keyword in the RasterAnalysis.
 void setDefaultOutputRasterPrefix(String rasterPrefix)
          The default output raster prefix.
 void setDefaultOutputVectorPrefix(String vectorPrefix)
          The default output vector prefix.
 void setExtent(int envType, Object extentProvider, Object snapRasterData)
          Sets the type and values of extent in the RasterAnalysis.
 void setGDBDomainsByRef(ISpatialReference domainsSpRef)
          The XY, Z and M domains in the RasterAnalysis.
 void setGlobeOptimized(boolean globeOptimized)
          Indicates if the globe optimized type in the RasterAnalysis.
 void setIgnoredValue(String ignoredValue)
          The ignored value in statistics calculation in RasterAnalysis.
 void setJpegQuality(int jpegQuality)
          Jpeg compression quality in the RasterAnalysis.
 void setMaskByRef(IGeoDataset mask)
          Mask allows processing to occur only for a selected set of cells.
 void setMosaicType(int mosaicType)
          The mosaic type in the RasterAnalysis.
 void setOutputDatasetNameArrayByRef(IArray rhs1)
          Puts output name array.
 void setOutSpatialReferenceByRef(ISpatialReference spatialReference)
          The output spatial reference of GeoAnalysis.
 void setOutWorkspaceByRef(IWorkspace workspace)
          The output workspace of GeoAnalysis.
 void setPyramidLevel(int level)
          The level in pyramid building in the RasterAnalysis.
 void setPyramidResampleType(int resampleType)
          The resample type in pyramid building in the RasterAnalysis.
 void setTileHeight(int tileHeight)
          The GeoDatabase tile height in the RasterAnalysis.
 void setTileWidth(int tileWidth)
          The GeoDatabase tile width in the RasterAnalysis.
 void setVerifyType(int verifyType)
          The verify type of the RasterAnalysis.
 void setXSkipFactor(int xSkipFactor)
          The skip factor in X direction in statistics calculation in the RasterAnalysis.
 void setYSkipFactor(int ySkipFactor)
          The skip factor in Y direction in statistics calculation in the RasterAnalysis.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

RasterConversionOp

public RasterConversionOp()
                   throws IOException,
                          UnknownHostException
Constructs a RasterConversionOp using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RasterConversionOp

public RasterConversionOp(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterConversionOp theRasterConversionOp = (RasterConversionOp) obj;

Construct a RasterConversionOp using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterConversionOp.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setCellSize

public void setCellSize(int envType,
                        Object cellSizeProvider)
                 throws IOException,
                        AutomationException
Sets the type and value of cell size in the RasterAnalysis.

Remarks

envType

An enumeration type specifying the raster cellsize environment settings for analysis. All subsequent results will be to the value specified. It can be of type

esriRasterEnvMaxOf – The largest cell size of all input raster datasets that are specifed in the function. This is the default.

This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead.

esriRasterEnvMinOf - Smallest cell size of all input raster datasets.

This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead

esriRasterEnvValue - Any user specified value for the cell size.

Use this option to specify a particular value for a cell size or for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only input.

[cellSizeProvider]

A specified value (double) or RasterDataset that is used to provide the cellsize environment value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setCellSize in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)
cellSizeProvider - A Variant (in, optional, pass null if not required)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

public void getCellSize(int[] envType,
                        double[] cellSize)
                 throws IOException,
                        AutomationException
Gets the type and value of cell size in the RasterAnalysis.

Remarks

envType

will return an enumeration type constant specifying the raster cellsize environment settings for analysis. It can be of type

esriRasterEnvMaxOf - largest cell size of all input datasets. This is the default.

esriRasterEnvMinOf - smallest cell size of all input datasets

esriRasterEnvValue - User specified value.

cellsize

returns a value that specifying the current environment setting for cellsize

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCellSize in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)
cellSize - The cellSize (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(int envType,
                      Object extentProvider,
                      Object snapRasterData)
               throws IOException,
                      AutomationException
Sets the type and values of extent in the RasterAnalysis.

Remarks

envType

An enumeration type specifying the raster extent environment settings for analysis. All subsequent results will be to this extent. It can be of type

esriRasterEnvMinOf – Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default.

esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used.

esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area.

[extentProvider]

An envelope object supporting IEnvelope interface or RasterDataset that is used to provide the environment values of the analysis extent.

[snapRasterData]

A RasterDataset that can be used to snap all output raster datasets to the cell registration of the specified raster. All subsequent results will share the lower-left corner and cell size of the specified raster.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setExtent in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)
extentProvider - A Variant (in, optional, pass null if not required)
snapRasterData - A Variant (in, optional, pass null if not required)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public void getExtent(int[] envType,
                      IEnvelope[] extent)
               throws IOException,
                      AutomationException
Gets the type and values of extent in the RasterAnalysis.

Remarks

envType

will return an enumeration constant specifying the raster extent environment settings for analysis. It can be of type,

esriRasterEnvMinOf – Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default.

esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used.

esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area.

extent

An envelope object supporting IEnvelope interface used to describe the values of the analysis extent.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExtent in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaskByRef

public void setMaskByRef(IGeoDataset mask)
                  throws IOException,
                         AutomationException
Mask allows processing to occur only for a selected set of cells.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMaskByRef in interface IRasterAnalysisEnvironment
Parameters:
mask - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMask

public IGeoDataset getMask()
                    throws IOException,
                           AutomationException
Mask allows processing to occur only for a selected set of cells.

Remarks

The mask can be a reference to a Raster, RasterDataset, RasterBand, or RasterDescriptor object or FeatureClass, FeatureClassDescriptor object.

The mask identifies only those cells within the analysis extent that will be considered when performing an action. Only the identified cells will be processed in subsequent output raster datasets. All other cells are characterized as nodata.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMask in interface IRasterAnalysisEnvironment
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerifyType

public void setVerifyType(int verifyType)
                   throws IOException,
                          AutomationException
The verify type of the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setVerifyType in interface IRasterAnalysisEnvironment
Parameters:
verifyType - A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVerifyType

public int getVerifyType()
                  throws IOException,
                         AutomationException
The verify type of the RasterAnalysis.

Remarks

The value is an enumeration environment setting that contols the way that an output RasterDatasets are written to file when during analysis. The verify enumeration can be of type

esriRasterEnvVerifyOn - specifies that the user will be prompted to verify the output already exists and it is okay to overwrite it

esriRasterEnvVerifyOff - specifies that output data will be automatically overwritten if already exists. This is the default environment setting.

esriRasterEnvVerifyError - specifies that an error will be produced when the output already exists.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getVerifyType in interface IRasterAnalysisEnvironment
Returns:
A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultOutputRasterPrefix

public String getDefaultOutputRasterPrefix()
                                    throws IOException,
                                           AutomationException
The default output raster prefix.

Remarks

The user specified prefix which is included to all temporary output RasterDatasets during analysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDefaultOutputRasterPrefix in interface IRasterAnalysisEnvironment
Returns:
The rasterPrefix
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultOutputRasterPrefix

public void setDefaultOutputRasterPrefix(String rasterPrefix)
                                  throws IOException,
                                         AutomationException
The default output raster prefix.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDefaultOutputRasterPrefix in interface IRasterAnalysisEnvironment
Parameters:
rasterPrefix - The rasterPrefix (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultOutputVectorPrefix

public String getDefaultOutputVectorPrefix()
                                    throws IOException,
                                           AutomationException
The default output vector prefix.

Remarks

The user specified prefix which is included to all temporary output Shapefiles during analysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDefaultOutputVectorPrefix in interface IRasterAnalysisEnvironment
Returns:
The vectorPrefix
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultOutputVectorPrefix

public void setDefaultOutputVectorPrefix(String vectorPrefix)
                                  throws IOException,
                                         AutomationException
The default output vector prefix.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDefaultOutputVectorPrefix in interface IRasterAnalysisEnvironment
Parameters:
vectorPrefix - The vectorPrefix (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAsNewDefaultEnvironment

public void setAsNewDefaultEnvironment()
                                throws IOException,
                                       AutomationException
Sets the raster analysis environment of the object as new default environment.

Remarks

Will set all current environment settings of the RasterAnalysis object as the new default environment. All subsequent analysis will use the set object properties unless otherwise specified.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setAsNewDefaultEnvironment in interface IRasterAnalysisEnvironment
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restoreToPreviousDefaultEnvironment

public void restoreToPreviousDefaultEnvironment()
                                         throws IOException,
                                                AutomationException
Restores to the previous default raster analysis environment.

Remarks

This will restore the default environment to the settings of the "previous" RasterAnalysisEnvironment object used to set the default environement. Note: If multiple default environments have been set it will reference the past settings one at a time in order of sequence.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
restoreToPreviousDefaultEnvironment in interface IRasterAnalysisEnvironment
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws IOException,
                  AutomationException
Remove all previously stored default rasteranalysis environments.

Remarks

This method can be used to restore the system default raster environment settings for extent, cell size, precision, spatial reference and/or current workspace for analysis. This will change all previously altered environment settings made to the RasterAnlaysis object back to the original settings.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
reset in interface IRasterAnalysisEnvironment
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutWorkspaceByRef

public void setOutWorkspaceByRef(IWorkspace workspace)
                          throws IOException,
                                 AutomationException
The output workspace of GeoAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setOutWorkspaceByRef in interface IGeoAnalysisEnvironment
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutWorkspace

public IWorkspace getOutWorkspace()
                           throws IOException,
                                  AutomationException
The output workspace of GeoAnalysis.

Remarks

The variable is an object specifying the directory or subdirectory to contain the output rasterdataset

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOutWorkspace in interface IGeoAnalysisEnvironment
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutSpatialReferenceByRef

public void setOutSpatialReferenceByRef(ISpatialReference spatialReference)
                                 throws IOException,
                                        AutomationException
The output spatial reference of GeoAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setOutSpatialReferenceByRef in interface IGeoAnalysisEnvironment
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutSpatialReference

public ISpatialReference getOutSpatialReference()
                                         throws IOException,
                                                AutomationException
The output spatial reference of GeoAnalysis.

Remarks

The variable references an object that specifies the output features spatial reference. If not explicitly set the spatial reference of the input features will be used.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getOutSpatialReference in interface IGeoAnalysisEnvironment
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGlobeOptimized

public void setGlobeOptimized(boolean globeOptimized)
                       throws IOException,
                              AutomationException
Indicates if the globe optimized type in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setGlobeOptimized in interface IRasterAnalysisGDBEnvironment
Parameters:
globeOptimized - The globeOptimized (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isGlobeOptimized

public boolean isGlobeOptimized()
                         throws IOException,
                                AutomationException
Indicates if the globe optimized type in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isGlobeOptimized in interface IRasterAnalysisGDBEnvironment
Returns:
The globeOptimized
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMosaicType

public void setMosaicType(int mosaicType)
                   throws IOException,
                          AutomationException
The mosaic type in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setMosaicType in interface IRasterAnalysisGDBEnvironment
Parameters:
mosaicType - A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMosaicType

public int getMosaicType()
                  throws IOException,
                         AutomationException
The mosaic type in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getMosaicType in interface IRasterAnalysisGDBEnvironment
Returns:
A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCompressionType

public void setCompressionType(int compressionType)
                        throws IOException,
                               AutomationException
The type and value of compression in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setCompressionType in interface IRasterAnalysisGDBEnvironment
Parameters:
compressionType - A com.esri.arcgis.geoanalyst.esriRasterGDBCompressionEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompressionType

public int getCompressionType()
                       throws IOException,
                              AutomationException
The type and value of compression in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCompressionType in interface IRasterAnalysisGDBEnvironment
Returns:
A com.esri.arcgis.geoanalyst.esriRasterGDBCompressionEnum constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setJpegQuality

public void setJpegQuality(int jpegQuality)
                    throws IOException,
                           AutomationException
Jpeg compression quality in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setJpegQuality in interface IRasterAnalysisGDBEnvironment
Parameters:
jpegQuality - The jpegQuality (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getJpegQuality

public int getJpegQuality()
                   throws IOException,
                          AutomationException
Jpeg compression quality in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getJpegQuality in interface IRasterAnalysisGDBEnvironment
Returns:
The jpegQuality
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBuildPyramid

public void setBuildPyramid(boolean buildParamid)
                     throws IOException,
                            AutomationException
Indicates if the pyramid building in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setBuildPyramid in interface IRasterAnalysisGDBEnvironment
Parameters:
buildParamid - The buildParamid (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBuildPyramid

public boolean isBuildPyramid()
                       throws IOException,
                              AutomationException
Indicates if the pyramid building in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isBuildPyramid in interface IRasterAnalysisGDBEnvironment
Returns:
The buildParamid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPyramidResampleType

public void setPyramidResampleType(int resampleType)
                            throws IOException,
                                   AutomationException
The resample type in pyramid building in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPyramidResampleType in interface IRasterAnalysisGDBEnvironment
Parameters:
resampleType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidResampleType

public int getPyramidResampleType()
                           throws IOException,
                                  AutomationException
The resample type in pyramid building in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getPyramidResampleType in interface IRasterAnalysisGDBEnvironment
Returns:
A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPyramidLevel

public void setPyramidLevel(int level)
                     throws IOException,
                            AutomationException
The level in pyramid building in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setPyramidLevel in interface IRasterAnalysisGDBEnvironment
Parameters:
level - The level (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPyramidLevel

public int getPyramidLevel()
                    throws IOException,
                           AutomationException
The level in pyramid building in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getPyramidLevel in interface IRasterAnalysisGDBEnvironment
Returns:
The level
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCalculateStatistics

public void setCalculateStatistics(boolean calculateStatistics)
                            throws IOException,
                                   AutomationException
Indicates if the statistics calculation in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setCalculateStatistics in interface IRasterAnalysisGDBEnvironment
Parameters:
calculateStatistics - The calculateStatistics (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCalculateStatistics

public boolean isCalculateStatistics()
                              throws IOException,
                                     AutomationException
Indicates if the statistics calculation in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isCalculateStatistics in interface IRasterAnalysisGDBEnvironment
Returns:
The calculateStatistics
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXSkipFactor

public void setXSkipFactor(int xSkipFactor)
                    throws IOException,
                           AutomationException
The skip factor in X direction in statistics calculation in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setXSkipFactor in interface IRasterAnalysisGDBEnvironment
Parameters:
xSkipFactor - The xSkipFactor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getXSkipFactor

public int getXSkipFactor()
                   throws IOException,
                          AutomationException
The skip factor in X direction in statistics calculation in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getXSkipFactor in interface IRasterAnalysisGDBEnvironment
Returns:
The xSkipFactor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setYSkipFactor

public void setYSkipFactor(int ySkipFactor)
                    throws IOException,
                           AutomationException
The skip factor in Y direction in statistics calculation in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setYSkipFactor in interface IRasterAnalysisGDBEnvironment
Parameters:
ySkipFactor - The ySkipFactor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYSkipFactor

public int getYSkipFactor()
                   throws IOException,
                          AutomationException
The skip factor in Y direction in statistics calculation in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getYSkipFactor in interface IRasterAnalysisGDBEnvironment
Returns:
The ySkipFactor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIgnoredValue

public void setIgnoredValue(String ignoredValue)
                     throws IOException,
                            AutomationException
The ignored value in statistics calculation in RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setIgnoredValue in interface IRasterAnalysisGDBEnvironment
Parameters:
ignoredValue - The ignoredValue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIgnoredValue

public String getIgnoredValue()
                       throws IOException,
                              AutomationException
The ignored value in statistics calculation in RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getIgnoredValue in interface IRasterAnalysisGDBEnvironment
Returns:
The ignoredValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTileWidth

public void setTileWidth(int tileWidth)
                  throws IOException,
                         AutomationException
The GeoDatabase tile width in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setTileWidth in interface IRasterAnalysisGDBEnvironment
Parameters:
tileWidth - The tileWidth (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileWidth

public int getTileWidth()
                 throws IOException,
                        AutomationException
The GeoDatabase tile width in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTileWidth in interface IRasterAnalysisGDBEnvironment
Returns:
The tileWidth
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTileHeight

public void setTileHeight(int tileHeight)
                   throws IOException,
                          AutomationException
The GeoDatabase tile height in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setTileHeight in interface IRasterAnalysisGDBEnvironment
Parameters:
tileHeight - The tileHeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileHeight

public int getTileHeight()
                  throws IOException,
                         AutomationException
The GeoDatabase tile height in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getTileHeight in interface IRasterAnalysisGDBEnvironment
Returns:
The tileHeight
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConfigurationKeyword

public void setConfigurationKeyword(String configKeyword)
                             throws IOException,
                                    AutomationException
The configuration keyword in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setConfigurationKeyword in interface IRasterAnalysisGDBEnvironment
Parameters:
configKeyword - The configKeyword (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationKeyword

public String getConfigurationKeyword()
                               throws IOException,
                                      AutomationException
The configuration keyword in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getConfigurationKeyword in interface IRasterAnalysisGDBEnvironment
Returns:
The configKeyword
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGDBDomainsByRef

public void setGDBDomainsByRef(ISpatialReference domainsSpRef)
                        throws IOException,
                               AutomationException
The XY, Z and M domains in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setGDBDomainsByRef in interface IRasterAnalysisGDBEnvironment
Parameters:
domainsSpRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGDBDomains

public ISpatialReference getGDBDomains()
                                throws IOException,
                                       AutomationException
The XY, Z and M domains in the RasterAnalysis.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGDBDomains in interface IRasterAnalysisGDBEnvironment
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAvoidDataConversion

public void setAvoidDataConversion(boolean bAvoid)
                            throws IOException,
                                   AutomationException
Indicates weather to avoid data conversion in the RasterAnalysis.

Remarks

Setting to false (the default setting) is the same as in versions before ArcGIS 9.4.

Setting the property to True ensures that all processing is performed natively on the raster data. This improves the overall performance as there is no need for the input data to be converted to ESRI grid format. The output data, however, is still temporary rasters in ESRI grid format.

Product Availability

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

Specified by:
setAvoidDataConversion in interface IRasterAnalysisGlobalEnvironment
Parameters:
bAvoid - The bAvoid (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAvoidDataConversion

public boolean isAvoidDataConversion()
                              throws IOException,
                                     AutomationException
Indicates weather to avoid data conversion in the RasterAnalysis.

Product Availability

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

Specified by:
isAvoidDataConversion in interface IRasterAnalysisGlobalEnvironment
Returns:
The bAvoid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addOutputDatasetName

public void addOutputDatasetName(int index,
                                 IDatasetName pOutName)
                          throws IOException,
                                 AutomationException
Adds an output dataset name to the specified index.

Product Availability

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

Specified by:
addOutputDatasetName in interface IRasterOpBase
Parameters:
index - The index (in)
pOutName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputDatasetNameArrayByRef

public void setOutputDatasetNameArrayByRef(IArray rhs1)
                                    throws IOException,
                                           AutomationException
Puts output name array.

Product Availability

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

Specified by:
setOutputDatasetNameArrayByRef in interface IRasterOpBase
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRasterDataset

public IRasterDataset toRasterDataset(IGeoDataset dataset,
                                      String rasterFormat,
                                      IWorkspace pWorkspace,
                                      String name)
                               throws IOException,
                                      AutomationException
Convert to a RasterDataset.

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
toRasterDataset in interface IConversionOp
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toFeatureData

public IGeoDataset toFeatureData(IGeoDataset dataset,
                                 int geometryType,
                                 IWorkspace pWorkspace,
                                 String name)
                          throws IOException,
                                 AutomationException
Convert to feature data (FeatureClass or FeatureDataset).

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
toFeatureData in interface IConversionOp
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rasterDataToPointFeatureData

public IGeoDataset rasterDataToPointFeatureData(IGeoDataset dataset,
                                                IWorkspace pWorkspace,
                                                String name)
                                         throws IOException,
                                                AutomationException
Convert raster data to feature data (FeatureClass or FeatureDataset).

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
rasterDataToPointFeatureData in interface IConversionOp
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rasterDataToPolygonFeatureData

public IGeoDataset rasterDataToPolygonFeatureData(IGeoDataset dataset,
                                                  IWorkspace pWorkspace,
                                                  String name,
                                                  boolean weeding)
                                           throws IOException,
                                                  AutomationException
Convert raster data to feature data (FeatureClass or FeatureDataset).

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
rasterDataToPolygonFeatureData in interface IConversionOp
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rasterDataToLineFeatureData

public IGeoDataset rasterDataToLineFeatureData(IGeoDataset dataset,
                                               IWorkspace pWorkspace,
                                               String name,
                                               boolean zeroAsBackground,
                                               boolean weeding,
                                               Object minDangle)
                                        throws IOException,
                                               AutomationException
Convert raster data to feature data (FeatureClass or FeatureDataset).

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
rasterDataToLineFeatureData in interface IConversionOp
Parameters:
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)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromUSGSDEM

public IRasterDataset importFromUSGSDEM(String demFile,
                                        IWorkspace outWorkspace,
                                        String outRasterName,
                                        String outRasterFormat)
                                 throws IOException,
                                        AutomationException
Imports a USGS DEM file into a RasterDataset.

Remarks

demFile

The input USGS DEM file to be converted

OutWorkspace

An object specifying the directory or subdirectory to contain the output raster dataset

outRasterName

The name of the output raster dataset to be created

OutRasterFormat

ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for outRasterFormat 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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
importFromUSGSDEM in interface IRasterImportOp
Parameters:
demFile - The demFile (in)
outWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
outRasterName - The outRasterName (in)
outRasterFormat - The outRasterFormat (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromASCII

public IRasterDataset importFromASCII(String asciiFile,
                                      IWorkspace outWorkspace,
                                      String outRasterName,
                                      String outRasterFormat,
                                      boolean isInteger)
                               throws IOException,
                                      AutomationException
Imports a GRID ASCII file into a RasterDataset.

Remarks

asciiFile

The input ASCII file to be converted. The ASCII file must consist of header information of specific format.

OutWorkspace

an object specifying the directory or subdirectory to contain the output raster dataset

outRasterName

The name of the output raster dataset to be created

OutRasterFormat

ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for outRasterFormat 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

isInteger

A Boolean specifying the data type of the output raster

If TRUE, an integer raster will be created

If FALSE, a floating-point raster will be created

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
importFromASCII in interface IRasterImportOp
Specified by:
importFromASCII in interface IRasterImportOp2
Parameters:
asciiFile - The asciiFile (in)
outWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
outRasterName - The outRasterName (in)
outRasterFormat - The outRasterFormat (in)
isInteger - The isInteger (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromFLOAT

public IRasterDataset importFromFLOAT(String floatFile,
                                      IWorkspace outWorkspace,
                                      String outRasterName,
                                      String outRasterFormat)
                               throws IOException,
                                      AutomationException
Imports a Float GRID file into a RasterDataset.

Remarks

floatFile

The input floating point binary file to be converted

OutWorkspace

an object specifying the directory or subdirectory to contain the output raster dataset

outRasterName

The name of the output raster dataset to be created

OutRasterFormat

ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for outRasterFormat 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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
importFromFLOAT in interface IRasterImportOp
Specified by:
importFromFLOAT in interface IRasterImportOp2
Parameters:
floatFile - The floatFile (in)
outWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
outRasterName - The outRasterName (in)
outRasterFormat - The outRasterFormat (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromUSGSDEM

public IRasterDataset importFromUSGSDEM(String demFile,
                                        IWorkspace outWorkspace,
                                        String outRasterName,
                                        String outRasterFormat,
                                        boolean isInteger,
                                        Object zFactor)
                                 throws IOException,
                                        AutomationException
Imports a USGS DEM file into a RasterDataset.

Remarks

demFile

The input USGS DEM file to be converted

OutWorkspace

An object specifying the directory or subdirectory to contain the output raster dataset

outRasterName

The name of the output raster dataset to be created

OutRasterFormat

ESRI GRID, ERDAS Imagine or TIFF formats are supported. The strings for outRasterFormat 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

isInteger

A Boolean specifying the data type of the output raster

If TRUE, an integer raster will be created

If FALSE, a floating-point raster will be created

[zFactor]

The number of ground x, y Units in one surface ZUnit

The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
importFromUSGSDEM in interface IRasterImportOp2
Parameters:
demFile - The demFile (in)
outWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
outRasterName - The outRasterName (in)
outRasterFormat - The outRasterFormat (in)
isInteger - The isInteger (in)
zFactor - A Variant (in, optional, pass null if not required)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToASCII

public void exportToASCII(IGeoDataset dataset,
                          String asciiFile)
                   throws IOException,
                          AutomationException
Exports a raster dataset to a GRID ASCII file.

Remarks

dataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
exportToASCII in interface IRasterExportOp
Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
asciiFile - The asciiFile (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToFloat

public void exportToFloat(IGeoDataset dataset,
                          String floatFile)
                   throws IOException,
                          AutomationException
Exports a raster dataset to a Float GRID file.

Remarks

dataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
exportToFloat in interface IRasterExportOp
Parameters:
dataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
floatFile - The floatFile (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.