logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

r.tile - Splits a raster map into tiles.

Author

       Glynn Clements

Description

r.tile retiles an existing raster map with user defined x and y tile size.

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, ...).

Keywords

       raster, tiling

Name

r.tile  - Splits a raster map into tiles.

Notes

r.tile generates a separate raster for each tile.  This is equivalent  to  running  g.region  along  with
       r.resample in a double loop.

       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.

       The overlap is defined in rows/columns.

See Also

g.region,r3.retile

Source Code

       Available at: r.tile source code (history)

       Accessed: Friday Apr 04 01:19:42 2025

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

       © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1                                                                                       r.tile(1grass)

Synopsis

r.tiler.tile--helpr.tileinput=nameoutput=stringwidth=integerheight=integer  [overlap=integer]   [--help]  [--verbose]
       [--quiet]  [--ui]

   Flags:--help
           Print usage summary

       --verbose
           Verbose module output

       --quiet
           Quiet module output

       --ui
           Force launching GUI dialog

   Parameters:input=name[required]
           Name of input raster map

       output=string[required]
           Output base name

       width=integer[required]
           Width of tiles (columns)

       height=integer[required]
           Height of tiles (rows)

       overlap=integer
           Overlap of tiles

See Also