[GRASS-user] Defining color table rules- other classes

2011-05-16 Thread Luis Lisboa
Greetings I have created a color table and defined colors for classes between 0-20. But, when I export It (as geotiff), it also defines colors for classes that does not exist (all black) or even for classes between 0-20 that does not have any pixel with that value. Is this expected? Thanks Luis

Re: [GRASS-user] Defining color table rules- other classes

2011-05-16 Thread Markus Metz
On Mon, May 16, 2011 at 1:09 PM, Luis Lisboa luislisboa1...@gmail.com wrote: Greetings I have created a color table and defined colors for classes between 0-20. But, when I export It (as geotiff), it also defines colors for classes that does not exist (all black) or even for classes between

Re: [GRASS-user] Defining color table rules- other classes

2011-05-16 Thread Luis Lisboa
So, it also creates an black entry for values from 21 til 255 right? Thanks Luis On Mon, May 16, 2011 at 12:38 PM, Markus Metz markus.metz.gisw...@googlemail.com wrote: On Mon, May 16, 2011 at 1:09 PM, Luis Lisboa luislisboa1...@gmail.com wrote: Greetings I have created a color table and

Re: [GRASS-user] Defining color table rules- other classes

2011-05-16 Thread Markus Metz
On Mon, May 16, 2011 at 2:44 PM, Luis Lisboa luislisboa1...@gmail.com wrote: So, it also creates an black entry for values from 21 til 255 right? Yes, because the geotiff format requires an entry in the color table for each value in the range of the selected data type, here apparently Byte which

Re: [GRASS-user] Defining color table rules

2010-01-21 Thread Pedro Roma
Glynn, thanks for your answer. But, for instance in GUI if a select a type of color table and then I decide to user a rule file, there is no blank option in Type of color table. And if I choose rule, it gets an error. So, in this cases I just have to close r.colors window and open one again. This

Re: [GRASS-user] Defining color table rules

2010-01-21 Thread Hamish
Pedro wrote: for instance in GUI if a select a type of color table and then I decide to user a rule file, there is no blank option in Type of color table. And if I choose rule, it gets an error. So, in this cases I just have to close r.colors window and open one again. fixed in 6.5svn, for

[GRASS-user] Defining color table rules

2010-01-19 Thread Pedro Roma
Greetings all I'm reading r.colors manual webpage ( http://grass.itc.it/grass64/manuals/html64_user/r.colors.html) and I have a few questions related with defining new color tables. 1- At color (in Parameters) one of the options is rules. But if i select rules and insert a path to a rules file I

Re: [GRASS-user] Defining color table rules

2010-01-19 Thread Glynn Clements
Pedro Roma wrote: I'm reading r.colors manual webpage ( http://grass.itc.it/grass64/manuals/html64_user/r.colors.html) and I have a few questions related with defining new color tables. 1- At color (in Parameters) one of the options is rules. But if i select rules and insert a path to a

Re: [GRASS-user] Defining color table rules

2010-01-19 Thread Hamish
Glynn wrote: color=rules is only kept in 6.4 for backwards compatibility). the interactive setting from the command line is useful too. Pedro Roma wrote: I tried to display the color table associated with a raster map layer (d.colortable) but I get the following message: Command