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

Glynn Clements glynn at gclements.plus.com
Mon Jan 19 06:36:07 EST 2009


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 ?

You can create a new location via the curses dialog, and specify
projection information interactively, but you can't use an EPSG code
here.

However, you can just provide bogus projection information at that
point, then correct it with "g.proj -c ..." once the startup is
complete.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list