g.download.project(1grass)
π g.download.project β the GRASS User's Manual glow-up π
okay bestie, sit DOWN. this is g.download.project(1grass), and it is literally the "download a whole project off the internet and make it exist in your GRASS database" module. it's giving effortless. it's giving one command. periodt. β¨
πΈ KEYWORDS πΈ
general, data, download, import β yeah, it's the whole vibe in four words π
π¦ SYNOPSIS π¦
g.download.project
g.download.project --help
g.download.project url=string [name=name] [path=path] [--help]
[--verbose] [--quiet] [--ui]
β¨ Flags:
--helpβ prints the usage summary so you're not out here guessing π--verboseβ verbose module output, aka the module tells you EVERYTHING it's doing π--quietβ quiet module output, aka the module shuts up and just works π€«--uiβ force launches the GUI dialog, for when you want buttons instead of typing π±οΈ
π Parameters:
url=string[required] β URL of the archive with a project to be downloaded. like, the URL of aZIP,TAR.GZ, or other similar archive. no URL, no download, no project, no nothing. it is REQUIRED bestie, don't skip it πname=nameβ Project (location) name. specifically the project name, not the path to the project. them's different things π«Άpath=pathβ GRASS database directory. Default: path to the current GRASS database. so if you don't say where, it just chucks it in the one you're already in π
π DESCRIPTION π
so g.download.project downloads an archived (e.g., .zip or .tar.gz) project β and yes, back in the day these were called locations, the rebrand is real β from a given URL and unpacks it to a specified or current GRASS Spatial Database. iconic behavior. π₯
and get this: the URL can also just be a local file on the disk. like, a file that's right there. it doesn't have to be β¨the internetβ¨. ngl that's so convenient.
also if the archive contains a directory which contains a project, the module will recognize that and use the project automatically. it just knows. main character energy fr fr π
the first directory which is a project is used. that's the rule.
the rest? ignored. Other projects or any other files are ignored. not deleted, not merged, not considered β just ignored. so don't come for me when your second project doesn't show up, bestie π
π EXAMPLES π
π« Download the full GRASS sample project within a running session
download and unpack the full North Carolina sample project into the user's HOME directory:
g.download.project url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2beta1.tar.gz path=$HOME
π« Download the full GRASS sample project in a temporary session
in a temporary session, download and unpack the full North Carolina sample project into the user's HOME directory:
grass --tmp-project XY --exec g.download.project url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2beta1.tar.gz path=$HOME
look at that --exec doing its little thing. obsessed. π§
π SEE ALSO π
g.mapset, g.mapsets, r.proj, v.proj, g.proj.all
go read those next, iykyk π
π AUTHOR π
Vaclav Petras, NCSU GeoForAll Lab β thank you for your service, legend π«‘πΈ
β SOURCE CODE β
Available at: g.download.project source code (history)
Latest change: Wednesday Nov 12 08:25:04 2025 in commit: 631d74bc6dbc09177e9c50eaf5debf9b107f7401
Main index | General index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
okay that's the whole page bestie, every last flag and file path accounted for π this was GRASS 8.5.0, and the latest change landed Wednesday Nov 12 08:25:04 2025 β go forth and download your projects, you absolute icon π¦πβ¨
π¦ 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