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?
Thanks in advance for your help,
Sander.
--
--------------------------------------------
Dr. Sander P. Oom
Animal, Plant and Environmental Sciences,
University of the Witwatersrand
Private Bag 3, Wits 2050, South Africa
Tel (work) +27 (0)11 717 64 04
Tel (home) +27 (0)18 297 44 51
Fax +27 (0)18 299 24 64
Email sander@oomvanlieshout.net
Web www.oomvanlieshout.net/sander
---------------------------------------------
> 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).