[GRASS5] d.vect.line question

Thierry Laronde tlaronde at polynum.com
Fri Nov 21 11:08:25 EST 2003


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 at polynum.org>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C




More information about the grass-dev mailing list