sites-vector conversion

Good day,

Does anybody know a routine for converting point data
(sites files) to vector or raster maps? I'm familiar
with v.to.sites, but don't know of a routine that runs
in the opposite direction.

Thanks for any advice,

Scott

-----------------------------------------------------------------
Scott Miller e-mail: miller@tucson.ars.ag.gov
USDA -ARS SWRC phone: (602) 670-6481 ext. 342
2000 E. Allen Rd.
Tucson. AZ 85721
------------------------------------------------------------------

Well there's always the brute force method: awk.
I have frequently made dig_ascii files from sites files
using awk and then using v.in.ascii.

Use another dig_ascii file to get the ~14 header lines
correct. Then use awk to create vector points
P 2
North east
north east

P 2
north east
north east

NOTE: the dig_ascii has north then east, but the sites files
have east then north.

An example awk script would be

awk -F"|" '{printf("P 2\n %s %s\n %s %s\n", $2, $1, $2, $1)}' insitesfile > outdigascii.

Then
cat outdigascii >> filewith_header_info

you can then create a dig_att and a dig_cats file in similar fashion.

-sue huse
REGIS
UC Berkeley