r.pack(1)
π r.pack(1) β GRASS GIS User's Manual π
okay bestie, pull up a chair, we're talking about r.pack from the GRASS GIS manual, and honestly? she's a whole vibe. β¨
πΈ NAME πΈ
r.pack β exports a raster map as a GRASS GIS specific archive file π
π KEYWORDS π
raster, export, copying π
β¨ SYNOPSIS β¨
r.pack
r.pack --help
r.pack [-c] input=name [output=name] [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
π© Flags π©
-cβ switch the compression off. no compression, no problem π«Ά--overwriteβ allow output files to overwrite existing files (yes, she will absolutely bulldoze what's already there, so be aware π)--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output--uiβ force launching GUI dialog
π§Έ Parameters π§Έ
input=name[required] β name of raster map to pack up. you literally cannot skip this one, bestie, it's required fr froutput=nameβ name for output file (default is<input>.pack)
π« DESCRIPTION π«
so what does she actually do? r.pack collects raster map elements and support files and compressed them using gzip algorithm for copying. π¦
the resulting packed file can afterwards be unpacked within a GRASS GIS session by r.unpack. cute, right? it's giving round trip. π₯
here's the part you gotta remember though: since the selected raster map is not exported but natively stored, the current region is not respected. hence r.pack stores the entire raster map. all of it. the whole thing. no region clipping, no shortcuts. periodt. π
π NOTES π
by default, the name of the pack file is determined from the input parameter. optionally a different name can be given by output parameter. π
currently only 2D raster maps are supported. that's it, that's the note. ngl, 2D only, bestie. π
π EXAMPLE π
pack up the entire raster map aspect into aspect.pack file:
r.pack input=aspect
the packed raster map file aspect.pack can afterwards be unpacked by:
r.unpack input=aspect.pack
see? iconic. ate that. π
π SEE ALSO π
r.unpack, r.in.gdal, g.copy, r.proj, v.unpack π
π«Ά AUTHORS π«Ά
- original Bash script written by Hamish Bowman, Otago University, New Zealand
- converted to Python and updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic
π¦ SOURCE CODE π¦
available at: r.pack source code (history)
accessed: Saturday Jan 17 05:41:52 2026
main index | raster index | topics index | keywords index | graphical index | full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual π
and that's the whole page, bestie!! π this was GRASS 8.4.2, page r.pack(1), and you now know her better than she knows herself. slay, go pack something. πβ¨π
π¦ 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