g.download.project(1)
π g.download.project β GRASS GIS User's Manual π
okay bestie, listen. this is a page from the GRASS GIS User's Manual, and it's about a lil command called g.download.project β and honestly? it's giving magic. it grabs a whole GRASS project off the internet and justβ¦ puts it in your database. no cap. let's get into it π«Ά
β¨ NAME β¨
g.download.project β Download GRASS project from the web
aka: Get GRASS project from an URL or file path. that's the whole vibe. π
πΈ KEYWORDS πΈ
general, data, download, import
(iykyk β those are the search tags, so you can find this page again when you forget the name, which you will, because same.)
π¦ SYNOPSIS π¦
g.download.project
g.download.project --help
g.download.project url=string [name=name] [path=path] [--help]
[--verbose] [--quiet] [--ui]
look at that. url is the only thing you actually have to give it. everything else is optional, like your weekend plans. β¨
π Flags:
--helpβ prints the usage summary, for when you're lost (we've all been there)--verboseβ verbose module output, aka the module tells you everything it's doing--quietβ quiet module output, aka the module minds its own business and shuts up--uiβ force launching the GUI dialog, for the visual girlies π₯οΈ
π Parameters:
url=string[required] β the URL of the archive with a project to be downloaded. More specifically: URL of ZIP, TAR.GZ, or other similar archive. this one is mandatory, bestie, no skipping itname=nameβ Project (location) name. and to be crystal clear: it's the project name, not the path to the project. don't get it twisted πpath=pathβ GRASS GIS database directory. Default: the path to the current GRASS GIS database (so if you don't say anything, it just drops it where you already are π )
π DESCRIPTION π
so what does g.download.project actually do, you ask? it downloads an archived (e.g., .zip or .tar.gz) project β and yes, project is what we used to call a location, the rename is real β from a given URL, and then it unpacks it into a specified or current GRASS GIS Spatial Database.
and plot twist: the url can also be a local file on the disk. so it's not even always about the internet, fr fr. π
and here's the part that's lowkey iconic: if the archive contains a directory which contains a project, the module will recognize that and use the project automatically. it's not confused, it's not making you dig through folders β it just knows. π§
the first directory which is a project is used. other projects, or any other files, are simply ignored. no drama, no errors about them, they're just background characters. periodt.
π₯ EXAMPLES π₯
β Download the full GRASS GIS 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_v2alpha2.tar.gz path=$HOME
one line. that's it. that's the whole thing. you're welcome. π
β Download the full GRASS GIS 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_v2alpha2.tar.gz path=$HOME
this one is the same download but wearing a little --tmp-project XY jacket, so it all happens inside a throwaway session. main character energy, zero cleanup. π
π SEE ALSO π
g.mapset, g.mapsets, r.proj, v.proj, g.proj.all
(go read those next, bestie, they're the friend group.)
π AUTHOR π
Vaclav Petras, NCSU GeoForAll Lab
shoutout. legend behaviour. π«Ά
π SOURCE CODE π
Available at: g.download.project source code (history)
Accessed: Saturday Jan 17 05:41:52 2026
Main index | General index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
ok that's the whole page, no skips, no summaries, every flag accounted for β¨ now go download a project and slay π
and that's a wrap, babe β this was GRASS 8.4.2, page g.download.project(1), straight from the GRASS GIS User's Manual. 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