[GRASS5] d.vect.line question

I was trying to create a legend file for a vector file and ran into a problem that others must have encountered before. Hopefully someone can offer a solution.

My vector contour map has negative numbers. That is, it measures depth below surface (not unusual for archaeologists). However, -1 in a legend file has a special meaning of 'all the rest of the lines'. In fact, it seems that it is treating all my negative numbers in that way.

How can I use a legend file to specify colors of vectors with negative attributes? Or is this impossible?

Thanks
Michael Barton
____________________
C. Michael Barton, Professor
Department of Anthropology
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671

On Fri, Nov 21, 2003 at 10:25:40AM +0100, Michael Barton wrote:

My vector contour map has negative numbers. That is, it measures depth
below surface (not unusual for archaeologists). However, -1 in a legend
file has a special meaning of 'all the rest of the lines'. In fact, it
seems that it is treating all my negative numbers in that way.

How can I use a legend file to specify colors of vectors with negative
attributes? Or is this impossible?

I have not given a look to the code so I suggest only a "trick": map
negative attributes to positive ones ( for example "shifting" the
0 comparison plan to, say, 65536, translate att -> 65536 + att).
--
Thierry Laronde (Alceste) <tlaronde@polynum.org>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C