File Exchange

image thumbnail

DTED - EGM96 load/display v1.0

version (7.5 MB) by p fontaine
Load and display terrain map altitude


Updated 06 Jun 2016

View License

These files display the elevation information contained in DTED files corrected by the geoid EGM96 height so as to provide the terrain WGS84 altitude.
Launch the demo scripts :
demoTile : plot a DTED tile
demoMap : plot a DTED map made of DTED tiles
demoEgm96 : plot the EGM96 geoid height
demoTerrainProfile : plot a terrain altitude profile between 2 points

Maps are clickable

DTED 0 tiles can be freely downloaded from

Cite As

p fontaine (2020). DTED - EGM96 load/display v1.0 (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

I think there is a bug in dtedtile.m:

% use sign bit to identify values which should be negative
id_neg = find(bitand(map,32768)==32768); % create list of indices of values to convert to negatives
%map(id_neg) = -map(id_neg); % this is incorrect original. should clear sign bit then negate.
map(id_neg) = -( bitand(map(id_neg), 32767));

John BG

the link you give for DTED 0 doesn't work.
Is this link

the same you refer to?


update NIMA link for DTED0

concatenation of dted tiles to obtain dted maps

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Read DTED elevation data

Inspired: Antarctic geoid conversions