.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.
g.download.project url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2alpha2.tar.gz path=$HOME
grass --tmp-project XY --exec g.download.project url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2alpha2.tar.gz path=$HOME