Raster To DTED (Data Management)
Summary
Splits a raster dataset into 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
Parameter | Explanation | Data Type |
in_raster |
The input raster dataset. The input must be a single band raster dataset representing elevation. | Raster Layer |
out_folder |
The output folder where the folder structure and DTED files will be created. | Folder |
dted_level |
The DTED level to use when creating your tiles.
| String |
resampling_type (Optional) |
Choose the resampling method to use when creating the DTEDs. The default is bilinear interpolation resampling.
| String |
Code Sample
This is a Python sample for RasterToDTED.
import arcpy RasterToDTED_management("C:/workspace/image1.img","C:/workspace/outputDTED", "DTED_0","BILINEAR")
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} try: 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") except: print "Raster To DTED sample failed." print arcpy.GetMessages()