[GRASS-user] d.vect not using RGB values in attribute table
Dylan Beaudette
dylan.beaudette at gmail.com
Mon May 22 13:04:26 EDT 2006
Ok, a bit more information.
Rebuilt with today's CVS, and noticed that following:
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
D3/3: element 13860: colorstring: 254:1:1
D3/3: element 14253: colorstring: 202:158:185
D3/3: element 14290: colorstring: 110:182:71
D3/3: element 14369: colorstring: 254:1:1
D3/3: element 14847: colorstring: 28:58:205
D3/3: element 15466: colorstring: 254:1:1
D3/3: element 15508: colorstring: 254:1:1
D3/3: element 15640: colorstring: 181:166:34
... however there are hundreds of polygons in this map, and yet I only see
about 20 lines matching 'colorstring' .. note that a VERY small number of
polygons are being filled with a non-grey color- but I cannot detect any
pattern.
hereis a sample screen shot showing the results of the previous command:
http://169.237.35.250/~dylan/temp/d.vect_probs.png
vectors are labeled with their GRASSRGB attribute, note that only one of the
vectors has a fill color that differs from the default.
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