Raster To DTED (Data Management)


Splits a raster dataset into separate files based on the DTED tiling structure.


  • 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.


arcpy.management.RasterToDTED(in_raster, out_folder, dted_level, {resampling_type})
ParameterExplanationData Type

Select a single band raster dataset that represents elevation.

Raster Layer

Select a destination where the folder structure and DTED files will be created.


Select an appropriate level based on the resolution of your elevation data.

  • DTED_0 900 m
  • DTED_1 90 m
  • DTED_230 m

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.

Derived Output

NameExplanationData Type

The folder with the output DTED files.


Code sample

RasterToDTED example 1 (Python window)

This is a Python sample for RasterToDTED.

import arcpy
RasterToDTED example 2 (stand-alone script)

This is a Python script sample for RasterToDTED.

import arcpy


Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics