r.in.srtm(1)

πŸ’– r.in.srtm β€” bestie edition πŸ’–

okay so real talk, this is a page from the GRASS GIS User's Manual and it's literally about r.in.srtm, which pulls SRTM HGT files into raster map format. no cap. let's get into it πŸ¦‹


✨ NAME ✨

r.in.srtm β€” it imports SRTM HGT files into a raster map. that's it, that's the whole job, and it does it flawlessly πŸ’…


πŸŽ€ 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 β€” okay so this means the input is a 1-arcsec tile. and the default, for the record, is 3-arcsec. (default: 3-arcsec) πŸ‘‘
  • --overwrite β€” lets the output files just... overwrite existing files. yes bestie, permission granted πŸ’€
  • --help β€” prints the usage summary, so when you're lost you're not lost lost 🧚
  • --verbose β€” verbose module output. it tells you everything, and honestly? we love a yapper
  • --quiet β€” quiet module output. shhh. no thoughts, just results πŸ™ˆ
  • --ui β€” forces the GUI dialog to launch. main character GUI energy 🌈

πŸ’œ Parameters:

  • input=name [required] β€” the name of your SRTM input tile. heads up, it's the file without the .hgt.zip extension. don't add it, bestie, just don't πŸ“
  • output=name β€” the name for the output raster map. and if you don't give one? it defaults to the input tile name. cute, low effort, iconic. (default: input tile)

⭐ DESCRIPTION ⭐

so r.in.srtm imports SRTM HGT files into GRASS. ✨

and here's the tea β€” you can download both the SRTM Version 1 data sets and the improved Version 2 data sets from NASA, right here:

and if you want the gap-filled SRTM Version 3 data, that's from USGS, at this site:

go get your data, queen 🫢


πŸ’… NOTES πŸ’…

SRTM tiles are 1 degree by 1 degree in size, okay? and the SRTM filename contains the coordinates, which refer to the center of the lower left pixel. for example, N51E010: the lower left cell center is at 10E, 51N. that's the vibe, that's the system πŸ¦‹

and to identify a tile name? a grid can be easily visualized by d.grid:

d.grid size=1

also important: if you're trying to import TOPEX/SRTM30 PLUS data, use r.in.bin instead. not this one. different tool, different moment ✨


πŸ”₯ REFERENCES πŸ”₯

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

(the scholarship? immaculate. periodt πŸ“š)


🌈 SEE ALSO 🌈

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

also, the Shuttle Radar Topography Mission homepage at NASA's JPL. (archived)

and the SRTM Web Forum (archived)

iykyk πŸ’–


πŸ‘‘ AUTHORS πŸ‘‘

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

the way they all pulled up and delivered... we stan 😭


πŸ’» SOURCE CODE πŸ’»

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

Accessed: Saturday Jan 17 05:41:52 2026

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

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


and that's a wrap, bestie πŸŽ€ huge shoutout to the whole GRASS Development Team, Β© 2003-2025, and this absolute gem of a manual for GRASS GIS 8.4.2. love u, mean it πŸ’œ
πŸ“¦ where this page comes from