[GRASS-user] Export coordinates of 3D line feature into csv format?

Micha Silver micha at arava.co.il
Fri Jul 8 07:16:28 EDT 2011


On Fri, 2011-07-08 at 11:19 +0200, Rainer M Krug wrote:

> Hi
> 
> 
> 
> I would like to export a 3D line feature into a csv format, as in:
> 
> 
> x y z
> 1 2 3
> .
> .
> .
> 
> 
> I am not interested in the attribute tab;e, as I need the coordinates
> incl z.
> 


FIrst create attrib columns for the X-Y-Z values:
v.db.addcol <vectormap> col="x double precision, y double precision z
double predision"
Then put the values into those columns
v.to.db <vectormap> option=coor column="x,y,z"
Now export the attrib table as you did before.


> 
> Is this possible? I only managed to export the attribute table so far
> (which I do not need...)
> 
> 
> Cheers,
> 
> 
> Rainer
> 
> 
> 
> -- 
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
> 
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
> 
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax (F):       +33 - (0)9 58 10 27 44
> 
> Fax (D):    +49 - (0)3 21 21 25 22 44
> 
> email:      Rainer at krugs.de
> 
> Skype:      RMkrug
> 
> 
> 
> 
> This mail was received via Mail-SeCure System.
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> This mail was received via Mail-SeCure System.
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110708/2564780e/attachment.html


More information about the grass-user mailing list