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