Peter Canter writes:
>
> I have a predefined grid which is divided into cells (rows & columns).
> What I want to do is to assign the attribute values to cells of the
> predefined grid. For each attribute I will create a single map surface.
> The x and y's of the attribute data will determine which cell gets the value.
> The x and y`s provided may not be exactly a 'cell' center but I expect
the GIS to assign the attribute value(s) to the cell with a coordinate center closest to the x & y of the attribute.
>
> Am I missing something in GRASS. Is this easily done? Is it done at all?
> My biggest problem is getting started, in other words loading the data.
> I am using simple ascii files as described above.
It is not too difficult, I think: convert your ASCII data to GRASS
site_lists format using awk in order to obtain site_lists for all your
attributes. There should be a program called s.to.rast that converts the
sites to raster format; maybe someone else can tell you where to find it,
as it's not in official release I think. You'll probably have to prefix
your attribute data with a # in order to fill your raster map with the
attribute values. You could also use s.to.vect (a program in src.contrib)
followed by v.to.rast.
Good luck!
Philip Verhagen
--
S t i c h t i n g R A A P
Regionaal Archeologisch Archiverings Projekt
adress: Plantage Muidergracht 14
1018 TV Amsterdam
THE NETHERLANDS
phone: (31) 20 525 5835
fax: (31) 20 525 5834
e-mail: motte@xs4all.nl