Triangle Mesh

From GRASS-Wiki
Revision as of 07:59, 22 April 2008 by Neteler (talk | contribs) (new FAQ)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Q: I have some coastal data that is in the form of a triangle mesh where the triangles are of different sizes. The triangles are subdivided the closer they get to the coast. Each vertex in the triangle set holds the water height at that location. Each vertex also has a lat/lon associated with it. I want to get this data into GRASS, how?

A: You can import the triangular mesh as a vector file by first importing the nodes with v.in.ascii and by creating a three column table (as you have three water elevation values) linked to the id number of each node. To create the triangular mesh run v.delaunay.