r.in.srtm(1grass)

πŸ’– r.in.srtm πŸ’–

okay bestie, welcome to the r.in.srtm page from the GRASS User's Manual ✨ this lil cutie is a raster module and it's about to import some SRTM HGT files into a raster map, no cap πŸ”οΈ

✨ KEYWORDS ✨

raster, import, SRTM πŸ›°οΈ


🌸 SYNOPSIS 🌸

r.in.srtm
r.in.srtm --help
r.in.srtm [-1] input=name  [output=name]   [--overwrite]  [--help]
[--verbose]  [--quiet]  [--ui]

πŸŽ€ Flags:

  • -1 β€” the input is a 1-arcsec tile (and if you don't say that, it assumes 3-arcsec, which is the default πŸ’…)
  • --overwrite β€” lets the output files overwrite files that already exist, so like, be aware πŸ‘€
  • --help β€” prints the usage summary, the "help me bestie" button
  • --verbose β€” verbose module output, it will yap πŸ—£οΈ
  • --quiet β€” quiet module output, it will not yap 🀫
  • --ui β€” forces the GUI dialog to launch

πŸ¦‹ Parameters:

  • input=name [required] β€” the name of your SRTM input tile (that's the file without the .hgt.zip extension, ok don't include it)
  • output=name β€” the name for your output raster map (defaults to: the input tile name, so it just reuses it ✨)

πŸ’œ DESCRIPTION πŸ’œ

so r.in.srtm imports SRTM HGT files into GRASS, periodt. πŸ—ΊοΈ both SRTM Version 1 and the improved Version 2 data sets are available for download from NASA at these sites:

and the gap-filled SRTM Version 3 data can be downloaded from USGS over here:


πŸ”₯ NOTES πŸ”₯

SRTM tiles are 1 degree by 1 degree in size, iconic square behaviour. πŸ“ the SRTM filename contains the coordinates, and those coords refer to the center of the lower left pixel β€” so for example N51E010 means the lower left cell center is at 10E, 51N, iykyk.

to figure out a tile name, you can easily visualize a grid with d.grid:

d.grid size=1

and if you wanna import TOPEX/SRTM30 PLUS data instead? that's a whole different vibe, use r.in.bin πŸ’«


🌈 REFERENCES 🌈

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


πŸ‘‘ SEE ALSO πŸ‘‘

r.in.bin, r.in.srtm.region (Addon), r.in.nasadem (Addon)

  • The Shuttle Radar Topography Mission homepage at NASA's JPL. (archived)
  • The SRTM Web Forum (archived)

🫢 AUTHORS 🫢

  • Markus Neteler
  • Improved by W. Kyngesburye and H. Bowman
  • Update for SRTM V3 by Markus Metz

⭐ SOURCE CODE ⭐

Available at: r.in.srtm source code (history)

Latest change: Tuesday Nov 11 15:17:03 2025 in commit: 59f1608a354cb5e6c1a7a5cc477633b8632d1774

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


ok that's the whole page, you ate that πŸ’… so like, tiny lil sign-off moment: this is from GRASS 8.5.0 🌈, Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual. go import some mountains bestie πŸ”οΈβœ¨πŸ’–

πŸ“¦ where this page comes from