[GRASSLIST:1043] automating grass database creation.
Stonie R. Cooper
stonie.cooper at planetarydata.com
Wed Aug 27 10:42:24 EDT 2003
I have a large historical database, all with different projections and areal
coverage . . . but consistent enough that I am writing a script to suck this
data into grass.
I have hit a snag, however, in being able to automate the database creation.
For instance, I have written the script to use a "dumby" database to start up
enough to do a "v.in.sdts catd=<my sdts catalog> -i" and redirect so I can
parse out the edges, UTM zone, and name.
Then, I try "grass5 /data/gis/my_files/borders/<NEW_NAME>/PERMANENT
where "borders" is my GISDBASE. "<NEW_NAME>/PERMANENT" is the new area for
storage desired, and I had hoped that grass would prompt me like it does in
interactive mode, to create a new area. But it won't - just gives me:
Not a valid GRASS location
Is there a way to script the creation of a database?
--
Stonie R. Cooper
Planetary Data, Incorporated
(402) 782-6611
More information about the grass-user
mailing list