[GRASS-user] Original location: How to create from the command
line ?
Glynn Clements
glynn at gclements.plus.com
Mon Jan 19 11:16:28 EST 2009
"Peter Löwe" 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.
> That's true. But is there also a way to provide the parameters
> _without_ interaction with the user (-> GRASS scripting & automation)
You can create a new location and mapset with "g.proj -c ...", then
make it current with g.mapset. But those are GRASS commands, and only
work within GRASS.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list