[GRASS-user] rasterizing a tin

Dear grass users,

echoing the message sent last week by Carlos Grohmann, and the how-to
published here http://grass.gdf-hannover.de/wiki/HOWTO_create_3D_TIN
I was wondering how one could generate a raster DEM from a 3D vector
TIN.

It could somehow be interesting to be able to generate a raster
elevation model that would be as close as possible to the surface mesh
of a tin...

Any idea ?

Vincent

Vincent BAIN wrote:

Dear grass users,

echoing the message sent last week by Carlos Grohmann, and the
how-to published here
http://grass.gdf-hannover.de/wiki/HOWTO_create_3D_TIN I was
wondering how one could generate a raster DEM from a 3D vector TIN.

It could somehow be interesting to be able to generate a raster
elevation model that would be as close as possible to the surface
mesh of a tin...

Any idea ?

Rasterise the vector points with v.to.rast and run r.surf.nnbathy on
that using "l" interpolation method. It performs plain triangulation of
the input raster data.

[1]http://grass.gdf-hannover.de/wiki/GRASS_AddOns#Raster_add-ons

Maciek

Vincent BAIN wrote:

Thank you much indeed Maciej !

Seems the addon works fine. I did not check in the detail how flat
triangles were handled, and how it behaves with huge files, but at first
sight it fits my needs !

In a word what about both other options nn and ns ?

There's a basic manual provided in the zip file along with
r.surf.nnbathy script. More info is provided with the nnbathy source
code and on the author's website [1].

[1]http://www.marine.csiro.au/~sakov/

Maciek