Displaying labels for r.contoured contours?

Fred Watson writes:

I've being generating rainfall maps using s.surf.tps and the corresponding
isohyets using r.contour.

Now, I want to be able to automatically label the isohyets with their
respective rainfall values. Is there a way to do this under GRASS - or at least,
a way to make it easier than hand-labelling them? N.B: I notice that you can
get the labels displayed by v.digit but thats not much use in the bigger picture
of things.

As you may have noticed, r.contour attaches attributes to the new vector
map; these are stored under $LOCATION/dig_att, so you have a file with
the locations of the labels. If you're prepared to spend some time on
writing a script, you could transfer these locations to a
$LOCATION/paint/label file that you can display with d.paint.labels. Hope
this helps.

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@hacktic.nl