[GRASS-user] Creation of GISDBASE in a script

Pierre Roudier pierre.roudier at gmail.com
Mon Nov 7 23:06:32 EST 2011


Thanks for the clarification Markus et al., it works indeed,

Pierre

2011/11/8 Markus Neteler <neteler at osgeo.org>:
> 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
>



-- 
Scientist
Landcare Research, New Zealand


More information about the grass-user mailing list