[Proj] query in grass

Hamish hamish_nospam at yahoo.com
Tue Aug 7 16:00:21 PDT 2007


riad mazloum wrote:
> hi, I'm using v.extract where I can put the option where, my question is that
> from where do I know what are the attributes that I can query on.
> How to do that inside grass without the need to check the files externally.

[this belongs on the GRASS mailing list; http://grass.itc.it]

but to answer your question.. the where= option performs a SQL query. You can
use a number of vector modules to describe the attached database, 'v.info -c'
or db.describe might help. Or outside of GRASS you can work the database
directly with whatever Postgres/MySql/DBF/etc software makes you happy.
See the introductory GRASS help pages and wiki for more info.


Hamish



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/



More information about the Proj mailing list