GRASS logo

Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.

NAME - Creates a DEM from 3 arcsec SRTM v2.1 or 1 arcsec SRTM v3 tiles.


raster, import, SRTM

SYNOPSIS --help [-n21z] output=name username=string password=string [url=string] [local=name] [region=xmin,ymin,xmax,ymax] [memory=integer] [method=string] [resolution=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Fill null cells
Import SRTM v2 tiles
Default: Import SRTM v3 tiles
Input is a 1-arcsec tile (default: 3-arcsec)
Create zero elevation for missing tiles
Allow output files to overwrite existing files
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


output=name [required]
Name for output raster map
username=string [required]
Username for authentication
password=string [required]
Password for authentication
Base URL to fetch SRTM tiles
Local folder with SRTM tiles
Use local folder instead of URL to retrieve SRTM tiles
Import subregion only (default is current region)
Format: xmin,ymin,xmax,ymax - usually W,S,E,N
Memory in MB for interpolation
Default: 300
Resampling method to use for reprojection (required if location projection not longlat)
Options: nearest, bilinear, bicubic, lanczos, bilinear_f, bicubic_f, lanczos_f
nearest: nearest neighbor
bilinear: bilinear interpolation
bicubic: bicubic interpolation
lanczos: lanczos filter
bilinear_f: bilinear interpolation with fallback
bicubic_f: bicubic interpolation with fallback
lanczos_f: lanczos filter with fallback
Resolution of output raster map (required if location projection not longlat)

Table of contents

DESCRIPTION imports all SRTM tiles covering the current region or region extents given with region into GRASS, patches the tiles together and optionally interpolates holes for SRTM V2.1. The SRTM V003 products are already void-filled. downloads (SRTM product description)

Importantly, for the SRTM tiles download a user registration is needed at

In the user profile, two specific applications must be approved in the "My application" tab:


Import of SRTMGL1 V003 (1 arc seconds ~ 30m) covering the current computational region:
# run in LatLong location - Sicily East, Italy
g.region n=39 s=37 w=14 e=16 res=0:00:01 -p

# use own credentials here -1 user="my_nasa_user" password="my_nasa_pw" output=srtm_sicily_1arc memory=2000
r.univar srtm_sicily_1arc example
Figure: Eta volcano (Sicily, Italy) shown in NVIZ

SEE ALSO, (addon)

The Shuttle Radar Topography Mission homepage at NASA's JPL (see also MEaSUREs Data Product Table - SRTM).

The SRTM v3 documentation.

SRTMGL1: NASA Shuttle Radar Topography Mission Global 1 arc second V003

NASA JPL. (2013). NASA Shuttle Radar Topography Mission Global 1 arc second. NASA LP DAAC.


M. Neteler, 2005. SRTM and VMAP0 data in OGR and GRASS. GRASS Newsletter, Vol.3, pp. 2-6, June 2005. ISSN 1614-8746.


Markus Metz
Reprojection support: Anika Bettge, mundialis


Available at: source code (history)

Latest change: Monday Jan 30 19:52:26 2023 in commit: cac8d9d848299297977d1315b7e90cc3f7698730

Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 8.2.2dev Reference Manual