[GRASS-user] v.extract features based on multiple SQL statements in one go

Marco Curreli marcocurreli at tiscali.it
Wed Jun 5 08:10:34 PDT 2013


> Message: 1
> Date: Wed, 05 Jun 2013 00:31:25 +0300
> 
> Idea 1
> 
> [...] 
> immediately formatted as
> 
> 	v.db.select -c wrs2_tiles_of_interest_testing col=cat | head | sed 
> ':a;N;
> $!ba;s/\n/,/g'
> 
> 1167,1179,2782,2789,8240,8241,8242,8243,12071,15422
> 
or
echo `v.db select -c wrs2_etc col=cat | \
gawk '{print $1","}`



More information about the grass-user mailing list