[GRASSLIST:10441] connect with selection???
Massimiliano Cannata
massimiliano.cannata at supsi.ch
Mon Feb 20 12:45:12 EST 2006
Hello,
currently I keep in a pg table X,Y,value,type,date of meteostation and
import the rain vector with:
echo "SELECT x,y,value FROM observation where type=rain and date='200602101200'" | db.select -c | v.in.ascii out=rain.200602101200
Conceptually the geometry is static and just the attribute are time
dependent.
So I wonder if is there a way for select vector attributes based on
WHERE statement?
What I need should be a sort of v.db.connect with table="SELECT bla bla
FROM bla bla WHERE bla bla"...
Do you have some hints for doing the rigth thing?
Thanks,
Massimiliano
--
Eng. Massimiliano Cannata
Scuola Universitaria Professionale della Svizzera Italiana
Istituto Scienze della Terra
Via Trevano, c.p. 72
CH-6952 Canobbio-Lugano
Tel: +41 (0)58 666 62 18
Fax +41 (0)58 666 62 09
More information about the grass-user
mailing list