s.db.rim

Imre Oolberg oolberg at ut.ee
Fri Apr 30 16:09:23 EDT 1999


Hallo and thanks for the respose!

but i am still worried about the s.db.rim

i got today new grass421 sources and compilied them (and rim and s.db.rim)
and it all went rather smootly. i only had to fetch tiff and jpeg
libraries from the Net; amd i copied my g77 to f77.

So, now i tried the s.db.rim again!

and it gives me the same old trouble!

i entered the location (i suppose here doesnt matter the consistence between
locations coordinates and projections and etc, i mean i am just conserned
building the rim database; does it? Well, afterwards, using it of course it matters)


So i entered imagery and spearfish and issued:

imre:~# s.db.rim anew

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

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

s.db>.make
make>~ssite
make>~xcoord
make>~ycoord
make>.end

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

Database is now 'made'.
imre:~#


Now, the first question is what kind of (shell) program 'data' should there
exist?


And ignoring that i continue since 'Database is now made'

imre:~# s.db.rim anew

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


s.db>.show

~ssite
~xxcoord
~yycoord

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

and so on with other fields all the same ..... :(


What is wrong with it?


Best Regasds, Imre Oolberg

By the way, is tried to stuff data into database using just 'rim' but
s.db.rim queries segment-faulted.

just appendid it here, so you can see the other side too:

imre:/usr/local/grass42/data/imagery/spearfish/rim/sites# rim
UW RIM (V.1.24  08/03/90)
 CTRL-C handling error  -1073743196
Rim:open anew
Database 'anew' is open.
Rim:select * from data
* Table 'data' contains no data.
 Table: data
 site      xcoord    ycoord
 --------  -------  -------
         0 rows selected.
Rim:

and the unload:

Rim:unload all to here
 Unload completed
Rim:quit

here:

*(unload of bnew at 04/30/99  22:56:11)
*(set con=+)
*(set end=null)
Define anew
Attributes
 field_num int  1
 field_name text 16
 rec_offset int  1
 field_type text 1
 line_num int  1
 column_num int  1
 length int  1
 split_field0 int  1
 split_field1 int  1
 line_text text 80
 site int  1
 xcoord doub 1 format 'f8.2'
 ycoord doub 1 format 'f8.2'
Relations
 fieldnames with field_num field_name rec_offset field_type line_num+
  column_num length split_field0 split_field1
 screenlayout with line_num line_text
 data with site xcoord ycoord
End
Set integer format 'i8'
Set real format 'f8.2'
Set date format 'mm/dd/yy'
Set mv '-MV-'
Set na '-NA-'
Load fieldnames
End
Load screenlayout
0 '~ssite'
1 '~xxcoord'
2 '~yycoord'
End
Load data
End
*(set end=;)
Exit


PLEASE HELP ME OUT!!!! ITS VERY IMPORTANT TO ME




More information about the grass-user mailing list