Skip To Content

Raster To DTED

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})
ParameterExplanationData 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.

  • DTED_0 900 m
  • DTED_1 90 m
  • DTED_230 m
String
resampling_type
(Optional)

Choose an appropriate technique based on the type of data you have.

  • NEARESTThe fastest resampling method, and it minimizes changes to pixel values. Suitable for discrete data, such as land cover.
  • BILINEARCalculates the value of each pixel by averaging (weighted for distance) the values of the surrounding 4 pixels. Suitable for continuous data.
  • CUBICCalculates the value of each pixel by fitting a smooth curve based on the surrounding 16 pixels. Produces the smoothest image, but can create values outside of the range found in the source data. Suitable for continuous data.
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")

Licensing information

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes