You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster · Elevation & grid

DEM — USGS ASCII DEM (and CDED)

Legacy text-based elevation format from the U.S. Geological Survey, also used for Canadian Digital Elevation Data (CDED).

Type
Raster · Elevation & grid
Extension
.dem
Converter
Read & write
Coordinate system
Any (georeferenced)
Bands
Single-band elevation.

What is a DEM file?

The USGS ASCII DEM format was developed by the U.S. Geological Survey to distribute digital elevation models, most commonly 7.5-minute quadrangles in UTM coordinates and 1-degree blocks in geographic coordinates. Natural Resources Canada distributed Canadian Digital Elevation Data (CDED) in the same format. Although these products have largely been superseded by newer elevation datasets, the format is still encountered in archives and older projects.

A file is organised into logical records stored in fixed-length blocks. Record A is a header describing the quadrangle, projection, horizontal datum, units, ground resolution and elevation scaling. Type B records hold the elevations as profiles running from south to north, and an optional Record C reports accuracy statistics. Elevations are stored as integers that are scaled by a header factor, and the units can be metres or feet. The format holds a single band. It is plain ASCII but uses Fortran-style numeric formatting, which makes it awkward to edit by hand.

USGS ASCII DEM files mostly come from US quadrangle archives and from Canadian CDED downloads, and they are usually exchanged by surveyors, hydrologists and anyone maintaining older terrain projects. Check the elevation units (metres or feet), the vertical scaling factor and the horizontal datum in the header before combining files. Neighbouring quadrangles often have different projections or zones, so they may need reprojection first.

Typical uses

  • Archiving 7.5-minute and 1-degree elevation quadrangles from USGS.
  • Working with Canadian CDED terrain data in legacy projects.
  • Deriving slope, aspect, contours and hillshade from older elevation data.
  • Converting old terrain tiles to GeoTIFF or another raster format.
Files: Legacy DEM with header records and profiles; CDED is Canadian variant.

Sample DEM files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena elevation model st-helena-dem.dem

Elevation (30 m, UTM)

Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. Resampled to 30 m in UTM zone 30S (604×508 px). USGS DEM (ASCII, Int16).

  • 1 band · Int16
  • 631 × 505 px
  • 1 arc-second (~30 m)
  • EPSG:32730
  • 2.4 MB

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

No. The .dem extension is also used by other elevation formats, such as SDTS DEM and some game or terrain-specific files. A USGS ASCII DEM is a text file that begins with a Record A header, so you can usually recognise it by opening it in a text editor.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.