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 upoutput=string[required] β output base name, the prefix every tile is gonna inheritwidth=integer[required] β width of tiles, counted in columnsheight=integer[required] β height of tiles, counted in rowsoverlap=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
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms