[GRASS-dev] [GRASS GIS] #2556: v.colors: copying from raster map does not work as expected

#2556: v.colors: copying from raster map does not work as expected
-----------------------------+----------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-releasebranch70
Keywords: v.colors raster | Platform: Unspecified
      Cpu: Unspecified |
-----------------------------+----------------------------------------------
{{{
v.colors map=censusblk_swwake@PERMANENT use=attr column=MEDIAN_AGE
color=elevation
}}}

works as expected.

{{{
g.region vect=censusblk_swwake res=2 -ap
v.to.rast input=censusblk_swwake@PERMANENT output=census use=attr
attribute_column=MEDIAN_AGE
r.colors map=census@user1 color=elevation
v.colors map=censusblk_swwake@PERMANENT use=attr column=MEDIAN_AGE
raster=census@user1
}}}

Only a small part of the census blocks is in color.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2556&gt;
GRASS GIS <http://grass.osgeo.org>