[GRASS-user] Original location: Hot to create from the command line ?

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Tue Jan 20 00:10:33 EST 2009


Hi Markus,

by the way. These links on the GRASS Tutor example page
(http://www.grassbook.org/examples_menu2nd.php) seem to be broken:
http://grass.itc.it/statsgrass/index.html#grassgstat
http://grass.itc.it/statsgrass/index.html#grassR

Marco

Markus Neteler schrieb:
> On Mon, Jan 19, 2009 at 12:06 PM, "Peter Löwe" <peter.loewe at gmx.de> wrote:
>   
>>>> is there an (easy) recipe to create a completely new location from
>>>> scratch without using a GUI ?
>>>>
>>>> To be precise: If GRASS is started for the first time in "-text" mode
>>>> (=no GUI) ** without having a sample location like Spearfish or North
>>>> Carolina around**, how can location parameters (projection, extent,
>>>> EPSG...) be handed over to set up a very first location ?
>>>>         
>>> Just type in the name of the location you want to create and GRASS will
>>> prompt you for the parameters.
>>>
>>> Moritz
>>>       
>> That's true. But is there also a way to provide the parameters _without_ interaction
>> with the user (-> GRASS scripting & automation) ?
>>     
>
> Sure.
> An older version of a shell script is here:
>  http://www.grassbook.org/examples_menu2nd.php
>  -> create_location.sh
>
> Keeping in mind
> http://grass.osgeo.org/wiki/GRASS_and_Shell#GRASS_Batch_jobs
> it should be even easier to write it.
>
> Markus
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>   


More information about the grass-user mailing list