[GRASS-user] Raster color tables missing entries
Markus Metz
markus.metz.giswork at gmail.com
Mon Dec 17 14:11:40 PST 2012
On Mon, Dec 17, 2012 at 10:45 PM, Markus Neteler <neteler at osgeo.org> wrote:
> 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
You can also try r.colors.out. It should create a color table with a
RGB value for each category.
Markus M
More information about the grass-user
mailing list