[GRASS-user] Using v.colors in WinGRASS

Luisa Peña luisapena1979 at gmail.com
Tue Nov 9 09:51:41 EST 2010


Ok I implented what is in 4r44284
1- v.db.connect -p map=teste_09_LULC
layers <1> table <teste09_LULC> in database <E:\v3/LOCAL/Regional/dbf>
through driver <dbf> with key <cat>
CVector map <teste09_LULC> is connected by:

2- v.colors map=teste01_LULC at Regional column=cat color=aspect
I get:
Creating column <GRASSRGB> ...
E:/GRASS6/scripts/v.colors: v.db.addcol: command not found
--- THIS APPROACH Didn't work--
Then a different approach
1- r.to.vect (OK)
2- v.db.droptable
3- v.db.addtable
4- v.db.addcol map=teste10_LULC columns=GRASSRGB varchar(12)
5- v.colors map=teste10_LULC column=cat  rgb_column=GRASSRGB color=random
 Scanning values...
Looking up colors...
Writing 10 colors...
DONE

Ok then I displayed the vector but.... I don't see ANY COLOR I see all in
GREY without any distinction between polygons
What might be missing?
Luisa
2010/11/9 Martin Landa <landa.martin at gmail.com>

> 2010/11/9 Markus Metz <markus.metz.giswork at googlemail.com>:
> > On Tue, Nov 9, 2010 at 12:55 PM, Luisa Peña <luisapena1979 at gmail.com>
> wrote:
> >> Greetings
> >> I'm using winGRASS6.4.1 (compiled from OSGEO4w) and I'm having a
> difficulty
> >> on applying v.colors.
> >> I have a raster map (r.reclass) that I convert to vector/areas. So far
> so
> >> good...
> >> But when I try to apply v.colors with this expression:
> >> v.colors map=teste01_LULC at Regional column=cat color=aspect
> >>
> >> I get this error:
> >> Creating column <GRASSRGB> ...
> >> E:/GRASS6/scripts/v.colors: v.db.addcol: command not found
>
> try r44284, hopefully fixed.
>
> Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101109/2d05a179/attachment.html


More information about the grass-user mailing list