r.tile(1grass)

✨ r.tile ✨

okay bestie, welcome to ur new fave raster-splitting era πŸ’– this is the page for the GRASS module r.tile, and yes, it does exactly what it says on the tin: it splits a raster map into tiles. 🧩

🌸 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 the usage summary, aka the "help me pls" button πŸ’…
  • --verbose β€” verbose module output, so it tells u everything going on πŸ“’
  • --quiet β€” quiet module output, for when u want silence and vibes 🀫
  • --ui β€” forces the GUI dialog to launch, fancy mode activated ✨

πŸ¦‹ Parameters:

  • input=name [required] β€” the name of the input raster map. no map, no tiles, periodt πŸ’€
  • output=string [required] β€” the output base name, aka the prefix all ur lil tile babies get πŸ‘‘
  • width=integer [required] β€” width of tiles (in columns) πŸ“
  • height=integer [required] β€” height of tiles (in rows) πŸ“
  • overlap=integer β€” overlap of tiles, for when ur tiles want to be a lil codependent πŸ«‚

πŸ’œ DESCRIPTION πŸ’œ

r.tile retiles an existing raster map with x and y tile sizes that you define. ur the main character, u make the rules πŸ’…βœ¨


🌈 NOTES 🌈

okay so here's the tea, bestie β˜•

r.tile generates a separate raster for each tile. lowkey iconic behaviour. it's literally equivalent to running g.region along with r.resample in a double loop. no cap. πŸŒ€

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 ur out here doing big-girl computing, this is ur moment πŸ”₯

the overlap is defined in rows/columns. that's it. that's the note. πŸŽ€


🌸 EXAMPLE 🌸

Retiling example for the North Carolina DEM, served fresh just for u πŸ“:

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

this creates 4 tiles with the prefix elev_tile (named: elev_tile-000-000, elev_tile-000-001, elev_tile-001-000, ...). four lil tiles, all named, all slaying ✨


πŸ‘€ SEE ALSO πŸ‘€

g.region, r3.retile


🧚 AUTHOR 🧚

Glynn Clements β€” respectfully, legend behaviour πŸ‘‘


πŸ“œ SOURCE CODE πŸ“œ

Available at: r.tile source code (history)

Latest change: Thursday May 08 20:58:05 2025 in commit: 4144ba81fa125e1549fc52e1cf5feb4fa004be8b

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

Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual


ok bestie that's the whole page, u ate that 🫢 this was r.tile from the GRASS 8.5.0 manual (GRASS Development Team, Β© 2003-2026) β€” go forth and tile, u got this πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from