[GRASS5] TINs as 3D vectors

Markus Neteler neteler at itc.it
Thu Apr 14 07:35:50 EDT 2005


On Wed, Apr 13, 2005 at 02:10:03PM +0200, Jachym Cepicky wrote:
> Hallo,
> is there any possibilty, how to create 3D-vector of TIN (triangulated
> irregular network) of the output from v.delauny? I have 3D points and v.delauny
> makes only 2D-polygons from it.. 

This requires changes in v.delauny. Somehow the z coordinate must
be maintained (currently set to 0).
 
> I wrote some script which solves this, but before I post it, I would like to
> know, that I did not something useless.
> 

For those (like me) who want to easily generate 3D points,
I have extended r.random to optionally use the extracted
attribute value (m) as z coordinate:

Instead of
 x y m
it now optionally writes
 x y z m
with z=m.

Markus




More information about the grass-dev mailing list