grass

  I am a research assistant at the University of Houston Clear Lake.
I am currently working on a project that involves GRASS. I need to know
the following question regarding GRASS. If this is not possible to answer
please be kind enough to refer me to someone who can answer the question
below.
QUESTION: 1) What is the data structure used inthe GRASS data file. In
other words how is the data stored
2) What compression technique is used to compress the data files in GRASS.

Thanking You
Shameek

This is a very simplistic answer, but will hopefully get you started.
Raster, site and vector files are handled differently in GRASS.
Raster files are either compressed or uncompressed. Uncompressed
raster files are just plain ascii values stored in a row by column
method. I think compressed raster files are stored using a
RLE (run length encoded) method. There are library routines in grass
to read both as well as to compress/uncompress as needed.
I do not know about the vector files. Sites files are just
ascii tables using the correct column delimiters.

Ken Sibley
USDA-SCS "Hell, if you understand everything I say,
ksibley@ncg.scs.ag.gov you'd be me!" - Miles Davis