Beware: long letter about s.db.rim; sorry

Imre Oolberg oolberg at ut.ee
Tue Apr 20 09:37:29 EDT 1999


Hallo!

I an quite new to the GRASS 4.2 and espessially to sites and rim.

And i also appologise for my long letter. Sorry but i tried to be
understoodable ..

i got slackware, g77, grass4.2 and rim supposedly set up and working. I
teached also to myself how to use rim separately. And also i read the seeds
tutorial and practically went thru the exercises. So i have a humble
experience :)

What i am trying to do is like this:

Now, i entered grass with spearfish sampledata and tired figure out how to
use database (with s.db.rim). 

First i found out that there isnt any rim databases (s.db.rim -> 2) included
eith spearfish so i decides to create one :)

I prepared a file 'db1':

.make
~sSite~~~~~~~~~~~~~~~~~~~~
~xX~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~yY~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.end

(last line ends with Return)

and issued at the grass prompt command to make database 'first':

Mapset <root> in Location <spearfish>
GRASS-GRID > s.db.rim first

s.db.rim version 1.4 6/11/91.

The database first does not currently exist.
You must make (.make) it before executing any other commands.

and then:

s.db>.input db1             

Input file is changing to file 'db1'.
.make
~sSite~~~~~~~~~~~~~~~~~~~~
~xX~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~yY~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.end

Form Definition Accepted.
Building the RIM database in directory
/usr/local/grass42/data/spearfish/root/rim/sites
sh: data: command not found

Database is now 'made'.

Mapset <root> in Location <spearfish>
GRASS-GRID > 

I am worried why it complains about 'data'. should i have that kind of a
shell program, i guess not?

But all right, i continued:

GRASS-GRID > s.db.rim first

s.db.rim version 1.4 6/11/91.
The database first has 0 records.

s.db>.add
add>Site 1
Unknown field name: site.

and here i am stuck :(

I checked the structure:

s.db>.show

~sSite~~~~~~~~~~~~~~~~~~~~                                                      
~xX~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                               
~yY~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                               

s.db>

And it seem to be all roght, right?


So, i am very interested in getting most out of the grass because the
program feels great. I like this batch mode it supports and the fact that i
got 10 fingers and i can use them in linux :) Not just fiddling with mouse.

Is there any tutorial or source where i can learn espessially about using
grass vector and sites (inluded rim) capabilities? Like the seeds with lakes
sample database. 


Best Regards, Imre Oolberg

PS I confess i haven't yet got the idea what to do with the database if it existed
but it mustnt to be so hard. 

BTW, i printed out the Markus Neteler tutorial and several other materials
(like manuals on commands) from the other german site. Did i miss something?



More information about the grass-user mailing list