com.esri.arcgis.geoanalyst
Interface IRasterConvertHelper

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterConvertHelper

public interface IRasterConvertHelper
extends Serializable

Provides access to members that convert geodatasets to rasters or feature classes.

Product Availability

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


Method Summary
 IRaster toRaster1(IGeoDataset pIn1, String rasterFormat, IRasterAnalysisEnvironment rasterEnv)
          Converts a GeoDataset to a Raster.
 void toRaster2(IGeoDataset pIn1, IGeoDataset pIn2, String rasterFormat, IRasterAnalysisEnvironment rasterEnv, IRaster[] ppOut1, IRaster[] ppOut2)
          Converts two GeoDatasets to two Rasters.
 void toRaster3(IGeoDataset pIn1, IGeoDataset pIn2, IGeoDataset pIn3, String rasterFormat, IRasterAnalysisEnvironment rasterEnv, IRaster[] ppOut1, IRaster[] ppOut2, IRaster[] ppOut3)
          Converts three GeoDatasets to three Rasters.
 IFeatureClass toShapefile(IGeoDataset pIn, int geometryType, IRasterAnalysisEnvironment rasterEnv)
          Converts a GeoDataset to a shapefile.
 

Method Detail

toRaster1

IRaster toRaster1(IGeoDataset pIn1,
                  String rasterFormat,
                  IRasterAnalysisEnvironment rasterEnv)
                  throws IOException,
                         AutomationException
Converts a GeoDataset to a Raster.

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIn1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
rasterFormat - The rasterFormat (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRaster2

void toRaster2(IGeoDataset pIn1,
               IGeoDataset pIn2,
               String rasterFormat,
               IRasterAnalysisEnvironment rasterEnv,
               IRaster[] ppOut1,
               IRaster[] ppOut2)
               throws IOException,
                      AutomationException
Converts two GeoDatasets to two Rasters.

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIn1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
pIn2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
rasterFormat - The rasterFormat (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
ppOut1 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
ppOut2 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRaster3

void toRaster3(IGeoDataset pIn1,
               IGeoDataset pIn2,
               IGeoDataset pIn3,
               String rasterFormat,
               IRasterAnalysisEnvironment rasterEnv,
               IRaster[] ppOut1,
               IRaster[] ppOut2,
               IRaster[] ppOut3)
               throws IOException,
                      AutomationException
Converts three GeoDatasets to three Rasters.

Remarks

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIn1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
pIn2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
pIn3 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
rasterFormat - The rasterFormat (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
ppOut1 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
ppOut2 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
ppOut3 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toShapefile

IFeatureClass toShapefile(IGeoDataset pIn,
                          int geometryType,
                          IRasterAnalysisEnvironment rasterEnv)
                          throws IOException,
                                 AutomationException
Converts a GeoDataset to a shapefile.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pIn - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
geometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.