[GRASS-dev] 2D to 3D points
michael.barton at asu.edu
Fri Feb 29 10:11:54 EST 2008
However, the 1st solution will take as long (maybe longer) than
importing the points from their original file again. I'll see if
v.transform will do it in one step.
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
On Feb 29, 2008, at 12:14 AM, Maciej Sieczka wrote:
> Michael Barton pisze:
>> It doesn't seem to. I think it makes columns from the points.
> If the input is a 3d point it makes a vertical 3d line out of it
> (the lines's 2d length = 0, 3d length = 0 + input 3d point's z).
> As the manual says. It takes 2 additional commnads to extract the
> top node:
> v.extrude input=pt output=pt3d_ln hcolumn=wys type=point layer=1
> v.to.points -n input=pt3d_ln output=pt3d_pt type=line llayer=1
> v.extract input=pts3d_pt output=pts3d_pt_top type=point layer=2
> new=-1 where="along>0"
> For tranforming 2d points into 3d directly there is v.transform I
> guess, using 'table' and 'columns' option.
More information about the grass-dev