[GRASS-user] Raster color tables missing entries

Markus Neteler neteler at osgeo.org
Mon Dec 17 13:45:13 PST 2012


On Tue, Jan 10, 2012 at 4:25 PM, Jitendra Kumar <jitu1503 at gmail.com> wrote:
> I am using the "random" color table for these rasters. Will it be
> interpolating in that case too?
>
> Is there a way to ensure all colors gets written to the color table?
>
> I want to use the color table RGB values for each category, parse it in an
> external program to add color legends in an Latex document.
>
> Jitu

Late reply :)

I guess that you will need to use the C API to get out a complete color list:

http://grass.osgeo.org/programming7/rasterlib.html#Raster_Color_Table

Markus


More information about the grass-user mailing list