[GRASS-user] Color table
    Raphael Saldanha 
    saldanha.plangeo at gmail.com
       
    Wed Aug 13 10:09:40 EDT 2008
    
    
  
Hi!
I'm using the script r.colors.stddev and making some adjustments for my
needs.
First, I set all 0 values to null (r.null), then I run the modified script,
with this color table:
...
     r.colors "$GIS_OPT_INPUT" color=rules << EOF
       nv black
       0% black
       $MEAN_MINUS_2STDEV black
       $mean 136 136 136
       $MEAN_PLUS_2STDEV white
       100% white
...
But the null values don't become to be displayed black, they still white.
So, for my purposes, I will need re-convert null values to 0.
Is there a better way?
-- 
Atenciosamente,
Raphael Saldanha
saldanha.plangeo at gmail.com
Johnny Carson  - "I was so naive as a kid I used to sneak behind the barn
and do nothing."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080813/b680eb80/attachment.html
    
    
More information about the grass-user
mailing list