[GRASS-dev] convert 3D polygons or Tins to a DEM?

Markus Neteler neteler at osgeo.org
Mon Jan 21 11:23:10 EST 2008


On Jan 21, 2008 4:22 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2008/1/21, Martin Landa <landa.martin at gmail.com>:
> > 2008/1/21, Markus Neteler <neteler at osgeo.org>:
> > > can we convert 3D polygons or tins to a DEM? Possibly a job for
> > > v.to.rast...
> > >
> > > v.to.rast help
> > > ...
> > >           use   Source of raster values:
> > >                 z    - use z coordinate (points or contours only)
> > >
> > > Would it be a big mess to extend that?
> >
> > I guess wouldn't be so complicated to add support also for faces (and
> > 3d lines in general) to v.to.rast... I can try take a look.
>
> just idea,
>
> tin ->
>
> v.to.points -n
> v.clean tool=rmdupl
> v.surf.* -> dem

well, this would only give an approximation AFAIK.

I realize that it is easy with (inclined) triangles but less so
with whatever-polygons (are that always faces or could it be
a more complex form?).

Markus


More information about the grass-dev mailing list