r.tile(1)

✨ NAME ✨

r.tile β€” bestie, this one splits a raster map into tiles. That's it, that's the whole vibe πŸ’…

It lives in the GRASS GIS User's Manual, and honestly? It's giving unsung hero.


πŸŽ€ KEYWORDS πŸŽ€

raster, tiling


🌸 SYNOPSIS 🌸

r.tile
r.tile --help
r.tile input=name output=string width=integer height=integer
       [overlap=integer]   [--help]  [--verbose]  [--quiet]  [--ui]

πŸ¦‹ Flags:

  • --help β€” prints you the usage summary, the little cheat sheet, iconic
  • --verbose β€” verbose module output, so it tells you everything it's doing
  • --quiet β€” quiet module output, for when you want zero chit-chat
  • --ui β€” forces the GUI dialog to launch, if you're feeling clicky

πŸ’œ Parameters:

  • input=name [required] β€” the name of the input raster map, aka the thing you're about to chop up
  • output=string [required] β€” output base name, the prefix every tile is gonna inherit
  • width=integer [required] β€” width of tiles, counted in columns
  • height=integer [required] β€” height of tiles, counted in rows
  • overlap=integer β€” overlap of tiles, and yes it's in rows/columns

πŸ’– DESCRIPTION πŸ’–

r.tile retiles an existing raster map with user defined x and y tile size. So like, you hand it a raster, you tell it how big you want the chunks, and it goes off and does the thing. No cap. 🫢


⭐ NOTES ⭐

r.tile generates a separate raster for each tile. The way that it works out to the exact same result as running g.region along with r.resample in a double loop β€” that's the energy, fr fr.

The module can be used to split a large raster map into smaller tiles, e.g. for further parallelized analysis on a cluster computing system. So if you're about to throw a giant map at a compute cluster, this is literally the glow-up step first. πŸ‘‘

The overlap is defined in rows/columns.


πŸ”₯ EXAMPLE πŸ”₯

Retiling example for the North Carolina DEM:

g.region raster=elevation -p
# rows:       1350
# cols:       1500
# generating 2 x 2 = 4 tiles (width=1500/2, height=rows/2)
r.tile input=elevation output=elev_tile width=750 height=675

creates 4 tiles with the prefix elev_tile (named: elev_tile-000-000, elev_tile-000-001, elev_tile-001-000, ...).

Not the naming convention being that cute 😭 zero-padded and everything. Ate.


🌈 SEE ALSO 🌈

g.region, r3.retile


πŸ‘‘ AUTHOR πŸ‘‘

Glynn Clements


πŸ’€ SOURCE CODE πŸ’€

Available at: r.tile source code (history)

Accessed: Saturday Jan 17 05:41:03 2026

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


Okay so that's the whole page, bestie β€” go tile something and slay πŸ’…βœ¨

This was served fresh from the GRASS GIS 8.4.2 Reference Manual, version GRASS 8.4.2, and Β© 2003-2025 GRASS Development Team. Thanks for coming to my TED talk, mwah πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from