sites to rast:non-interactive

In an E-mail message, ALOBO wrote:

Is there any way to convert from sites to raster
in a non-interactive way (not using s.menu)?
(I would need the category values of the sites file:
x|y|#z
to become the cell values of the raster file).

Agus,

Try using the s.to.rast program:

Usage:
s.to.rast [-qs] input=name output=name [size=value] [title=name]

Flags:
  -q Run quietly
  -s Create a single-valued (0/1) raster map

Parameters:
   input Name of input site list
  output Name of new raster file
    size Number of cells to surround site cell
   title Title for the resulting raster map

This program is found in src.contrib. Let me know if you need it sent to you.
If you have the source code, just compile for yourself.

--
-------------------------

Paul Loechl p-loechl@cecer.army.mil
USA CERL (217)352-6511x7668