[GRASS-user] rasters loaded with r.external miss a colour table?

Paolo Cavallini cavallini at faunalia.it
Fri Feb 24 03:36:11 EST 2012

Il 24/02/2012 09:24, Hamish ha scritto:
> yes, it is doing that, see main.c line ~ 340.
> if gdal supplies a color table it uses it, otherwise r.external checks
> if the map is type GDT_Byte and if so applies the grey255 rules. Or, if
> some other data type applies G_make_grey_scale_colors() based on the
> range. I would suggest that this be changed to not create any color table
> if none is provided. (and so act like other grass modules do in that
> case and fall back to rainbow rules)
ok, thanks a lot for clarifying.
all the best.

Paolo Cavallini
See: http://www.faunalia.it/pc

More information about the grass-user mailing list