[GRASS-user] v.out.ascii: how to write "where" clause
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Mon Jun 1 15:52:45 EDT 2009
On Mon, 2009-06-01 at 21:51 +0200, Nikos Alexandris wrote:
> 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`
or better... where=`echo "${where}"`
More information about the grass-user
mailing list