[GRASSLIST:8096] point xyz-output for cvs 6.1

Hello,

I fail to get xyz-output from v.out.ascii on GRASS cvs 6.1.
Just x|y|nodeid is written.

Can anyone help?

Thanks in advance

Karl

--------------------------------------------------------------------------
Dr.-Ing. Karl BROICH Tel: +49 / (0) 89 / 6004 2478
Universität der Bundeswehr München Fax: +49 / (0) 89 / 6004 3858
Institut für Wasserwesen
Werner-Heisenberg-Weg 39
D 85577 Neubiberg
--------------------------------------------------------------------------

I fail to get xyz-output from v.out.ascii on GRASS cvs 6.1.
Just x|y|nodeid is written.

Can anyone help?

Is the z data actually a 3d coordinate or is it an attribute column?
(check vector file type with v.info)

If it is an attribute column you can use the v.out.ascii.db script
available on the wiki add-ons page:

http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassAddOns

Hamish

Thank you Hamish,

I got the column name with v.info (option : print types/names of table columns ... ). It was the default "value". Then

v.out.ascii.db input=vpoints output=vpoints.xyz columns=value

writes the desired information as

cat | x | y | z=value

quickly (1 mio. points within less than 30 sec).

Karl

At 17:12 30.08.2005 +1200, you wrote:

> I fail to get xyz-output from v.out.ascii on GRASS cvs 6.1.
> Just x|y|nodeid is written.
>
> Can anyone help?

Is the z data actually a 3d coordinate or is it an attribute column?
(check vector file type with v.info)

If it is an attribute column you can use the v.out.ascii.db script
available on the wiki add-ons page:

http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassAddOns

Hamish

--------------------------------------------------------------------------
Dr.-Ing. Karl BROICH Tel: +49 / (0) 89 / 6004 2478
Universität der Bundeswehr München Fax: +49 / (0) 89 / 6004 3858
Institut für Wasserwesen
Werner-Heisenberg-Weg 39
D 85577 Neubiberg
--------------------------------------------------------------------------