[GRASSLIST:6621] Re: Export vector table to text file?

Hamish hamish_nospam at yahoo.com
Mon Apr 25 20:49:49 EDT 2005

> > Probably an obvious question, but I can not find the answer in the
> > help  files and other references.
> > 
> > How do I export a vector table directly to a text file from within
> > Grass?
> do you mean database table?
> echo "select * from your_vector_file "| db.select -c > text_file.txt
> or via ooffice calc, if you want just to edit it and you are not
> familiar with SQL

see also v.db.select; v.to.db; v.out.ascii.db from the Add-on section of
the wiki if you want associated coordinates; v.to.points+v.out.ascii; and
the little dbview application (google).


More information about the grass-user mailing list