[GRASS-user] 'where' sql command in d.vect and others

Seb spluque at gmail.com
Sat Mar 24 09:35:56 EDT 2007


Hi,

I have a vector of points with the following data:


v.info -c communities
Displaying column types/names for database connection of layer 1:
INTEGER|cat
CHARACTER|str_1
CHARACTER|str_2
CHARACTER|str_3
DOUBLE PRECISION|dbl_1
DOUBLE PRECISION|dbl_2
INTEGER|int_1


and have been trying to subset this in d.vect like this:

d.vect communities where="str_3 = 'some string'"

but it's not subsetting as expected.  Is this the right syntax for
constructing the 'where' parameter?


Cheers,

-- 
Seb




More information about the grass-user mailing list