GRASS logo

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


raster, import

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


Fill null cells
Import SRTM v2 tiles
Default: Import SRTM v3 tiles
Import 1-arcsec tiles (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

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

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:


This module only operates in Latitude-Longitude locations (EPSG 4326).


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


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

Last changed: $Date: 2017-02-25 11:46:11 +0100 (Sat, 25 Feb 2017) $


Available at: source code (history)

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

© 2003-2017 GRASS Development Team, GRASS GIS 7.2.3svn Reference Manual