[GRASS-user] v.out.ascii: how to write "where" clause
Moritz Lennert
mlennert at club.worldonline.be
Tue Jun 2 02:02:33 EDT 2009
On 01/06/09 21:52, Nikos Alexandris wrote:
> 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}"`
or maybe just
where="$where" ?
Moritz
More information about the grass-user
mailing list