|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterImportOp2
Provides access to additional members that control the import of raster formats.
Method Summary | |
---|---|
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,
boolean isInteger,
Object zFactor)
Imports a USGS DEM file into a RasterDataset. |
Method Detail |
---|
IRasterDataset importFromUSGSDEM(String demFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat, boolean isInteger, Object zFactor) throws IOException, AutomationException
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. |
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterDataset importFromASCII(String asciiFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat, boolean isInteger) throws IOException, AutomationException
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 |
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterDataset importFromFLOAT(String floatFile, IWorkspace outWorkspace, String outRasterName, String outRasterFormat) throws IOException, AutomationException
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 |
floatFile
- The floatFile (in)outWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outRasterName
- The outRasterName (in)outRasterFormat
- The outRasterFormat (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 |