[GRASSLIST:6466] plot points in different color
Rado Bonk
rado.bonk at jrc.it
Thu Apr 14 09:51:26 EDT 2005
Dear GRASS users,
I have a point data associated with PostgreSQL table. I would like to
fill the points with RGB color based on their attribute (typical desktop
GIS task).
I used "grassrgb" column in PG table and "d.vect -a" command but it did
not fill them with color. Manual page for "d.vect" says that "-a" option
works only for area type vector data;-(((
How can I fill the points with the color based on their attribute in
GRASS?
Thanks,
Rado
PG TABLE:
east | north | id | perc | grassrgb
-----------+-----------+--------+------+-----------
481412.45 | 114890.02 | 115758 | 23 | 255:201:0
436976.24 | 16658.02 | 116194 | 32 | 255:201:0
513015.88 | 108963.68 | 116285 | 31 | 255:201:0
563716.89 | 82973.91 | 116442 | 23 | 255:201:0
559728.19 | 55266.49 | 108167 | 15 | 255:255:0
523753.84 | 96061.85 | 193121 | 5 | 255:255:0
554137.91 | 25981.95 | 193180 | 5 | 255:255:0
525675.06 | -22426.98 | 110254 | 59 | 255:137:0
582684.19 | 60473.42 | 116426 | 54 | 255:137:0
502887.37 | 57836.26 | 109116 | 67 | 255:70:0
577125.90 | 32710.38 | 110049 | 65 | 255:70:0
420653.26 | 82045.02 | 106823 | 92 | 233:0:54
413557.10 | 27108.21 | 106898 | 92 | 233:0:54
431697.39 | 34068.04 | 106955 | 92 | 233:0:54
GRASS COMMAND (layer "netemp" is linked with table above):
d.vect -a map=netemp icon=basic/circle attrcol=perc
More information about the grass-user
mailing list