[GRASS-user] v.colors and raster color table.

I’m having problem in assigning a raster color table to a vector map.

g.copy vector=roads,roads_copia (no color table)

v.colors map=roads_copia raster=slope (a color table is assigned)

v.colors map=roads_copia raster=soils (no color table assigned)

It seems that if the raster map contains integer values the colors are not assigned, but surely there is some other reason I don’t understand. Is there a place where the criteria of defining colors from a raster map to be assigned to a vector map are explained?

Thanks in advance

A. Clerici

On 10/09/15 17:04, Aldo CLERICI wrote:

I’m having problem in assigning a raster color table to a vector map.

g.copy vector=roads,roads_copia (no color table)

v.colors map=roads_copia raster=slope (a color table is assigned)

v.colors map=roads_copia raster=soils (no color table assigned)

It seems that if the raster map contains integer values the colors are
not assigned, but surely there is some other reason I don’t understand.
Is there a place where the criteria of defining colors from a raster map
to be assigned to a vector map are explained?

This is a known issue:

https://trac.osgeo.org/grass/ticket/2556

but it would help if you could add your experience to that ticket.

Moritz