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
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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