[GRASS-user] Creation of GISDBASE in a script
Markus Neteler
neteler at osgeo.org
Mon Nov 7 15:19:54 EST 2011
On Mon, Nov 7, 2011 at 8:46 PM, Pierre Roudier <pierre.roudier at gmail.com> wrote:
> Thanks for your answers,
>
>> For GRASS 6, see in Addons "grass_create_location.sh":
>> http://trac.osgeo.org/grass/browser/grass-addons/general/grass_create_location
>
> I did saw this add-on, but isn't it generating a new location only (ie
> not a new, entire GRASSDATA)?
You asked
"create a tmp grassdata/location/mapset in a script"
and creating the "grassdata/" is simply
mkdir grassdata
Then you can use the script indicating that directory or use Rainer's approach
to copy an existing empty location.
BTW: I only create temporary *mapsets* and work in the same location
on a cluster (in this case the location is valid for all jobs). Much easier...
Markus
More information about the grass-user
mailing list