[GRASSLIST:6608] Export vector table to text file?

Dear Grass users,

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
---------------------------------------------

hi,
On Sat, Apr 23, 2005 at 05:23:06PM +0200, Sander Oom wrote:

Dear Grass users,

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.

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

the vectorfile export is made by v.out.ascii, but I don't thing, you need this

Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/

> 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).

Hamish