This document is archived and information here might be outdated. Recommended version. |
Converts two GeoDatasets to two Rasters.
[Visual Basic .NET] Public Sub ToRaster2 ( _ ByVal pIn1 As IGeoDataset, _ ByVal pIn2 As IGeoDataset, _ ByVal rasterFormat As String, _ ByVal rasterEnv As IRasterAnalysisEnvironment, _ ByRef ppOut1 As IRaster, _ ByRef ppOut2 As IRaster _ )
[C#] public void ToRaster2 ( IGeoDataset pIn1, IGeoDataset pIn2, string rasterFormat, IRasterAnalysisEnvironment rasterEnv, ref IRaster ppOut1, ref IRaster ppOut2 );
[C++]
HRESULT ToRaster2(
IGeoDataset* pIn1,
IGeoDataset* pIn2,
BSTR rasterFormat,
IRasterAnalysisEnvironment* rasterEnv,
IRaster** ppOut1,
IRaster** ppOut2
);
[C++] Parameters pIn1 [in]
pIn1 is a parameter of type IGeoDataset* pIn2 [in]
pIn2 is a parameter of type IGeoDataset* rasterFormat [in]
rasterFormat is a parameter of type BSTR rasterEnv [in]
rasterEnv is a parameter of type IRasterAnalysisEnvironment* ppOut1 [out]
ppOut1 is a parameter of type IRaster** ppOut2 [out]
ppOut2 is a parameter of type IRaster**
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 |