Raster To DTED (Data Management)

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

arcpy.management.RasterToDTED(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

Derived Output

NameExplanationData Type
derived_folder

The folder with the output DTED files.

Folder

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.

import arcpy
RasterToDTED_management("C:/workspace/image1.img","C:/workspace/outputDTED",
                        "DTED_0","BILINEAR")

Environments

Licensing information

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

Related topics