[GRASSLIST:101] RE: how to load data into d.vect.thematic ?

Michael Barton Michael.Barton at asu.edu
Tue Mar 14 14:24:26 EST 2006


D.vect.thematic reads data from an attribute table linked with a GRASS vector file. You don't have such an attribute table linked. 

Michael

______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton




-----Original Message-----
From: Philipp H. Mohr [mailto:phm4 at kent.ac.uk]
Sent: Mon 3/13/2006 5:02 AM
To: GRASSLIST at baylor.edu
Subject: [GRASSLIST:37] how to load data into d.vect.thematic ?
 
Hello,

I have tried to use d.vect.thematic, but I ran into a few problems.
I load my data in with:

        cat grass.in | v.in.ascii out=mypoints3 x=2 y=1 cat=3 columns='cat int, x double, y double'

I can draw the vector mypoints3 without any problems. But when I try to
display this vector with:

        d.vect.thematic map=mypoints3 type=point column=cat themetype=graduated_colors themecalc=interval layer=1
        icon=basic/circle
        size=5 maxsize=20 nint=4 colorscheme=blue-red pointcolor=255:0:0
        linecolor=0:0:0 startcolor=255:0:0 endcolor=0:0:255
        monitor=x0

I get the ERROR: No such column [cat].
Could some one please tell me how to read the data in so that it can be
used with d.vect.thematic.

Thank you very much.
Regards,
Phil




More information about the grass-user mailing list