ArticleslgStudy

computer science

Esri TIN

Esri TIN is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Esri TIN rather than just read about it. In short: The Esri TIN format is a popular yet proprietary geospatial vector data format for geographic information system (GIS) software for storing elevation data as a triangulated irregular network. It is developed and regulated by Esri, US.

Key takeaways

  • Esri TIN belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Esri TIN to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Esri TIN from memory before moving on to harder problems.

Reference excerpt

The Esri TIN format is a popular yet proprietary geospatial vector data format for geographic information system (GIS) software for storing elevation data as a triangulated irregular network. It is developed and regulated by Esri, US. The Esri TIN format can spatially describe elevation information including breaking edge features. Each points and triangle can carry a tag information.

A TIN stored in this file format can have any shape, cover multiple regions (e.g. islands) and contain holes (e.g. lakes). In 2007 a reverse-engineered description of Esri TIN format came to light. Since then, the Virtual Terrain Project, an open-source software, has implemented support for reading the format, without the need of ArcGIS being installed.

Overview The Esri TIN format is a digital vector storage format for storing elevation information including breaking edge features. The Esri TIN format was introduced with ArcView GIS. The Esri TIN format consists of a collection of files with specific filenames and a common filename extension, stored in the same directory. Most of the files are mandatory files (tdenv.adf, tedg.adf, thul.adf, tmsk.adf, tmsx.adf, tnod.adf, tnxy.adf and tnz.adf), optionally a file containing the coordinate system and projection information (prj.adf) and files containing point tag information (tnval.adf and tndsc.adf) and triangle tag information (ttval.adf and ttdsc.adf) can be given.

Mandatory files

tdenv.adf — header and statistical data tedg.adf — edges data and topology thul.adf — outer and inner hull polygon data tmsk.adf — mask data, masks invisible triangles tmsx.adf — index file for tmsk.adf tnod.adf — triangle node data tnxy.adf — position information (x and y coordinates) tnz.adf — height information (z values) The endianness of most of the files is big-endian. tmsk.adf, tmsx.adf and tdenv.adf have mixed endianness.

Other files

prj.adf — projection description, using a well-known text representation of coordinate reference systems; are single line {B286C06B-0879-11D2-AACA-00C04FA33C20} signifies an unknown coordinate system tndsc.adf — statistic on point tag usage tnval.adf — point tag data ttdsc.adf — description of triangle tag data ttval.adf — triangle tag data The endianness of the file tndsc.adf and tnval.adf is little-endian.

Files generated by ArcGIS 10

tnodinfo.adf — point types and more teval.adf — edges data tdenv9.adf — the file tdenv.adf renamed Size of file A TIN with n points (incl. superpoints) and k triangles, the file sizes calculate to:

tnxy.adf : 16*n bytes tnz.adf : 4*n bytes tnod.adf : 12*k bytes tedg.adf : 12*k bytes tmsx.adf : 116 bytes tdenv.adf/tdenv9.adf : 104 bytes tmsk.adf : 132 + 4*ceiling(k/32) bytes thul.adf : min. 12 bytes, depends on the number of points in the convex hull polygon tndsc.adf : 24* the number of tag entries specified in tndsc.adf bytes (see below) tnval.adf : 4*n' bytes (n': number of tagged points, incl. superpoints; see below) tnodinfo.adf : 2*n bytes teval.adf : 16* the number of breaking edges entries specified in tdenv9.adf bytes (see below)

Mandatory files

tnxy.adf - X and Y coordinates of the points of the TIN Contains and array of X and Y coordinate values, one pair for each point of the TIN. The data set for each point can be described by the following structure:

tnz.adf - Z coordinates of the points of the TIN Contains an array of Z coordinate values, one for each point of the TIN. The values are in same order as the values in tnxy.adf and together store the 3 dimensional coordinate of each point of the TIN. The data set for each point can be described by the following structure:

tnod.adf - Indices of the points that form the triangles of the TIN Contains an array of indices to the points that form the triangles of the TIN, 3 indices for each triangle. The indices are in the range of 1 to the number of points ([1, # of points]). The front face of a triangle (usually the upper side) is that face, that has the 3 points/corners ordered clockwise when viewed. The data set for each triangle can be described by the following structure:

tedg.adf - Topology of the triangles and the type of its edges Contains information about the topology of the triangles and the type of their edges. There is an entry for each triangle with each 3 indices, that point to the position (number of the index) in tnod.adf file to identify the triangle, that shares an edge with the triangle described by the current data set, and the point of that triangle, that form that edge. For each triangle in tnod.adf exists a data set at the same file location in tedg.adf. Each of the values point to the location in tnod.adf, where the point is specified (the index of that point) that form an edge. At the same time, since the location in tnod.adf and tedg.adf correspond, each of the values point to the location in tedg.adf, where the location of the value is specified. Rule: If edge a of triangle A points to edge b of triangle B, then edge b of triangle B must point to edge a of triangle A. Since edge definition in tedg.adf and point definition in tnod.adf of each triangle are at the same location the files, the indices in tedg.adf point to the point definition in tnod.adf of the neighbouring triangles. The indices encode the actual index and type of the edge. The actual indices are not file offsets in bytes, but rather in int32 values, in the range of 1 to the number of points ([1, # of points]). If the value is negative (bit 31 is set) the edge is a breaking edge. Furthermore, bit 30 of the int32 values is used to determine if the edge is a hard or soft breaking edge. If the actual index would be 1234 (0x000004D2) then a hard breaking edge would be encoded as -1234 (0xFFFFFB2E) and a soft breaking edge as -1073743058 (0xBFFFB2E). The edge definition of the neighbouring triangle must mirror the edge type. ATTENTION: This behaviour has changed since ArcGIS 10. Please compare with the information given in section 'Format changes and files new with ArcGIS 10'. The data set for each triangle can be described by the following structure:

tdenv.adf - Header or statistics This file contains information that could be seen as a mix of file header and statistic data.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Esri TIN

Start with the simplest possible case. Write down what Esri TIN claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Esri TIN before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Esri TIN ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Esri TIN

In research
Esri TIN appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Esri TIN in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Esri TIN is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer file formats, GIS file formats, so understanding it makes those chapters shorter.
In everyday life
Look for Esri TIN outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Esri TIN” →

How to study Esri TIN in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Esri TIN means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Esri TIN out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Esri TIN in simple terms?

The Esri TIN format is a popular yet proprietary geospatial vector data format for geographic information system (GIS) software for storing elevation data as a triangulated irregular network. It is developed and regulated by Esri, US.

Why does Esri TIN matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Esri TIN?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Esri TIN.

Tags

  • Computer file formats
  • GIS file formats

Keep exploring