[GRASS-user] occurrence of attributes in vektortable

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Fri Mar 7 07:38:47 EST 2008


On Fri, 2008-03-07 at 07:17 -0500, Patton, Eric wrote:
> >how can i get a list of all different occurences in a column of an 
> >attributetable.
> 
> v.db.select map=mapname column=columnname | uniq (for vector with a connected attribute table)

It doesn't work for me. What am I doing wrong?

v.db.select map=TrainingSamples column=clccode_le | uniq -u
clccode_le
3
3
332
3
334
2
334
5
3
5
131
131
332
131
1
332
3
332
1
332
2
> db.select map=mapname column=columnname | uniq (for tables unattached to a vector)

Do the "map" and "column" parameters exist for db.select?


> 
> ~ Eric.

Nikos



More information about the grass-user mailing list