[GRASS-dev] Re: [GRASS GIS] #73: r.out.gdal tiff output does not work

Moritz Lennert mlennert at club.worldonline.be
Thu Oct 30 04:22:21 EDT 2008


On 30/10/08 08:02, GRASS GIS wrote:

> Comment (by mmetz):
>  Yes, but for GeoTIFF these short colortables are not colortables in the
>  GeoTIFF sense, but custom metadata. The equivalent in gdal_translate would
>  be gdal_translate -mo "COLOR_TABLE_RULE_0=..." Qgis reads these rules
>  instead of the colortable if rules are present, but qgis is the only
>  application doing so. Grass doesn't do that itself, i.e. it exports
>  COLOR_TABLE_RULE, but ignores these entries on import (enhancement for
>  r.in.gdal?).

Yes, please !

IMHO, if both a short and a long colortable are present, then GRASS 
should use the former since with a long colortable things get really 
slow for raster display.

Moritz


More information about the grass-dev mailing list