[GRASS-user] d.vect not using RGB values in attribute table
Dylan Beaudette
dylan.beaudette at gmail.com
Mon May 22 12:42:15 EDT 2006
Thanks for the quick reply Huidae,
After adjusting the DEBUG level, and executing the commands you suggested:
d.vect -a ca_statsgo 2>&1 | grep colorstring
D3/3: area 508: colorstring: 28:58:205
D3/3: area 2962: colorstring: 28:58:205
D3/3: element 11933: colorstring: 179:113:29
D3/3: element 12037: colorstring: 174:0:239
D3/3: element 12038: colorstring: 174:0:239
D3/3: element 12393: colorstring: 28:58:205
D3/3: element 12772: colorstring: 179:113:29
D3/3: element 12776: colorstring: 179:113:29
D3/3: element 13616: colorstring: 89:107:16
D3/3: element 13703: colorstring: 241:44:3
D3/3: element 13777: colorstring: 179:113:29
...
these appear to be the colors that I inserted into the attribute table, but my
polygons are still being filled with the default color of grey.
not sure what is going on...
I have just updated to todays CVS, and will check to see what happens when it
is done compiling.
Cheers,
Dylan
On Monday 22 May 2006 08:15, Huidae Cho wrote:
> I added wcolumn= and wscale= options last week. Hmm.. -a flag works well
> for me. Try the following:
>
> g.gisenv set=DEBUG=3
> d.vect mapname -a 2>&1 | grep colorstring
>
> Do you see any message?
>
> Huidae Cho
>
> On Sun, May 21, 2006 at 01:22:18PM -0700, Dylan Beaudette wrote:
> > last weeks CVS:
> >
> >
> > using d.vect with the -a flag is not coloring areas based on colors
> > stored in the attribute table.
> >
> > +------+-------+--------------+---------------+---------+----------+
> >
> > | cat | muid | suborder_pct | soil_suborder | rgb | GRASSRGB |
> >
> > +------+-------+--------------+---------------+---------+----------+
> >
> > | 2735 | CA007 | 15 | orthents | 254:1:1 | 254:1:1 |
> >
> > +------+-------+--------------+---------------+---------+----------+
> >
> > tried using both an attribute named GRASSRGB, and specifying the column
> > with the rgb_column=GRASSRGB flag
> >
> > anyone else noticing this odd behavior?
> >
> > Thanks!
> >
> >
> > --
> > Dylan Beaudette
> > Soils and Biogeochemistry Graduate Group
> > University of California at Davis
> > 530.754.7341
> >
> > _______________________________________________
> > grassuser mailing list
> > grassuser at grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grassuser
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
More information about the grass-user
mailing list