This document is archived and information here might be outdated. Recommended version. |
Imports a USGS DEM file into a RasterDataset.
[Visual Basic .NET] Public Function ImportFromUSGSDEM ( _ ByVal demFile As String, _ ByVal OutWorkspace As IWorkspace, _ ByVal outRasterName As String, _ ByVal OutRasterFormat As String, _ ByVal isInteger As Boolean, _ [ByRef zFactor As Object] _ ) As IRasterDataset
[C#] public IRasterDataset ImportFromUSGSDEM ( string demFile, IWorkspace OutWorkspace, string outRasterName, string OutRasterFormat, bool isInteger, ref object zFactor );
[C++]
HRESULT ImportFromUSGSDEM(
BSTR demFile,
IWorkspace* OutWorkspace,
BSTR outRasterName,
BSTR OutRasterFormat,
VARIANT_BOOL isInteger,
Variant* zFactor
);
[C++] Parameters demFile [in]
demFile is a parameter of type BSTR OutWorkspace [in]
OutWorkspace is a parameter of type IWorkspace* outRasterName [in]
outRasterName is a parameter of type BSTR OutRasterFormat [in]
OutRasterFormat is a parameter of type BSTR isInteger [in]
isInteger is a parameter of type bool zFactor [in, optional]
zFactor is a parameter of type VARIANT*
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. |