|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoanalyst.RasterConvertHelper
public class RasterConvertHelper
Raster conversion helper class.
Constructor Summary | |
---|---|
RasterConvertHelper()
Constructs a RasterConvertHelper using ArcGIS Engine. |
|
RasterConvertHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterConvertHelper theRasterConvertHelper = (RasterConvertHelper) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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. |
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 |
---|
public RasterConvertHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterConvertHelper(Object obj) throws IOException
RasterConvertHelper theRasterConvertHelper = (RasterConvertHelper) obj;
obj
to RasterConvertHelper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IRaster toRaster1(IGeoDataset pIn1, String rasterFormat, IRasterAnalysisEnvironment rasterEnv) throws IOException, AutomationException
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 |
toRaster1
in interface IRasterConvertHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toRaster2(IGeoDataset pIn1, IGeoDataset pIn2, String rasterFormat, IRasterAnalysisEnvironment rasterEnv, IRaster[] ppOut1, IRaster[] ppOut2) throws IOException, AutomationException
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 |
toRaster2
in interface IRasterConvertHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toRaster3(IGeoDataset pIn1, IGeoDataset pIn2, IGeoDataset pIn3, String rasterFormat, IRasterAnalysisEnvironment rasterEnv, IRaster[] ppOut1, IRaster[] ppOut2, IRaster[] ppOut3) throws IOException, AutomationException
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 |
toRaster3
in interface IRasterConvertHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass toShapefile(IGeoDataset pIn, int geometryType, IRasterAnalysisEnvironment rasterEnv) throws IOException, AutomationException
toShapefile
in interface IRasterConvertHelper
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |