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

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to