Skip to content

g.download.location

Download GRASS project (location) from the web

Get GRASS project from an URL or file path

g.download.location url=string [name=name] [path=path] [--verbose] [--quiet] [--qq] [--ui]

Example:

g.download.location url=string

grass.script.run_command("g.download.location", url, name=None, path=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("g.download.location", url="string")

Parameters

url=string [required]
    URL of the archive with a project to be downloaded
    URL of ZIP, TAR.GZ, or other similar archive
name=name
    Project (location) name
    Project name (not path to project)
path=path
    GRASS GIS database directory
    Default: path to the current GRASS GIS database
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

url : str, required
    URL of the archive with a project to be downloaded
    URL of ZIP, TAR.GZ, or other similar archive
name : str, optional
    Project (location) name
    Project name (not path to project)
    Used as: input, location, name
path : str, optional
    GRASS GIS database directory
    Default: path to the current GRASS GIS database
    Used as: input, dbase, path
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

g.download.location has been renamed to g.download.project and exists for backwards compatibility reasons. It will be removed in the next major version.

SEE ALSO

g.download.project

AUTHOR

Vaclav Petras, NCSU GeoForAll Lab

SOURCE CODE

Available at: g.download.location source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f