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

Markus Metz markus.metz.giswork at googlemail.com
Mon May 16 07:38:15 EDT 2011


On Mon, May 16, 2011 at 1:09 PM, Luis Lisboa <luislisboa1975 at 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 0-20 that does not
> have any pixel with that value. Is this expected?

gdal does that, because the geotiff format requires an entry in the
color table for each value in the range of the selected data type (or
no color table at all)

Markus M


More information about the grass-user mailing list