g.download.project(1grass)

g.download.project1grass

Download grass project from the web get grass project from an url or file path

Usage

g.download.project

g.download.project --help

g.download.project url=string [name=name] [path=path] [--help] [--verbose] [--quiet] [--ui]

Keywords

general, data, download, import

Overview

g.download.project downloads an archived (e.g., .zip or .tar.gz) project (previously called location) from a given URL and unpacks it to a specified or current GRASS GIS Spatial Database. URL can be also a local file on the disk. If the archive contains a directory which contains a project, the module will recognize that and use the project automatically. The first directory which is a project is used. Other projects or any other files are ignored.

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

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

Source code

Available at: g.download.project source code (history)

Accessed: Monday Feb 24 17:51:44 2025

Main index | General index | Topics index | Keywords index | Graphical index | Full index

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

Author

Vaclav Petras, NCSU GeoForAll Lab

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.