Raster To DTED (Data Management)

License Level:BasicStandardAdvanced

Summary

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

Usage

Syntax

RasterToDTED_management (in_raster, out_folder, dted_level, {resampling_type})
ParameterExplanationData 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.

  • DTED_0 DTED level 0 specification will be used to split the raster dataset.
  • DTED_1 DTED level 1 specification will be used to split the raster dataset. This is the default.
  • DTED_2 DTED level 2 specification will be used to split the raster dataset.
String
resampling_type
(Optional)

Choose the resampling method to use when creating the DTEDs. The default is bilinear interpolation resampling.

  • NEARESTNearest neighbor assignment
  • BILINEARBilinear interpolation. This is the default.
  • CUBICCubic convolution
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} 

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()

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015