[GRASS-user] v.out.ascii: how to write "where" clause
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Mon Jun 1 15:51:07 EDT 2009
Jarek:
> where="gdzie='N' and typ=4"
> v.out.ascii input=grzeda2 at bramy output=tmp_ppunkty_los format=point fs=,
> dp=8 layer=1 where=$where
>
> but I recive: Sorry <and> is not a valid option (?????)
Try the following:
where="gdzie="N" and typ=4"
v.out.ascii input=grzeda2 at bramy output=tmp_ppunkty_los format=point fs=,
dp=8 layer=1 where=`echo $where`
Nikos
More information about the grass-user
mailing list