Summary
Splits a raster dataset into separate files based on the DTED tiling structure.
Usage
There are three levels of the DTED tiling scheme available: DTED level 0, DTED level 1, and DTED level 2.
The input can only be a single band raster dataset.
The output spatial reference will be GCS_WGS84. Each tile's extent is one degree in each direction, plus a half pixel on each edge so adjacent tiles have one column and row of overlap. The output pixel size is dictated by the DTED level, and the data is converted and stored as signed, 16-bit integers.
The DTED format is intended to be used with one band data that represents elevation, so this tool cannot be used for multiband images.
Syntax
RasterToDTED_management (in_raster, out_folder, dted_level, {resampling_type})
Parameter | Explanation | Data Type |
in_raster | Select a single band raster dataset that represents elevation. | Raster Layer |
out_folder | Select a destination where the folder structure and DTED files will be created. | Folder |
dted_level | Select an appropriate level based on the resolution of your elevation data.
| String |
resampling_type (Optional) | Choose an appropriate technique based on the type of data you have.
| String |
Code sample
RasterToDTED example 1 (Python window)
This is a Python sample for RasterToDTED.
import arcpy
RasterToDTED_management("C:/workspace/image1.img","C:/workspace/outputDTED",
"DTED_0","BILINEAR")
RasterToDTED example 2 (stand-alone script)
This is a Python script sample for RasterToDTED.
##====================================
##Raster To DTED
##Usage: RasterToDTED_management in_raster out_folder DTED_1 | DTED_0 | DTED_2
## {BILINEAR | NEAREST | CUBIC}
import arcpy
arcpy.env.workspace = "c:/workspace"
##Split a large DEM image to DTED_1 standard
arcpy.RasterToDTED_management("socal_dem", "ras2dted", "DTED_1", "BILINEAR")
Environments
Licensing information
- ArcGIS for Desktop Basic: Yes
- ArcGIS for Desktop Standard: Yes
- ArcGIS for Desktop Advanced: Yes