TIN to TIN

From Tuflow
Revision as of 13:14, 9 September 2011 by tuflow>Par (Created page with "=Introduction= '''tin_to_tin.exe''' converts SMS and 12D triangulations to SMS, 12D and Vertical Mapper formats. It is very useful for transferring TINs from one package to anot...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

tin_to_tin.exe converts SMS and 12D triangulations to SMS, 12D and Vertical Mapper formats. It is very useful for transferring TINs from one package to another so as to utilise the various features offered by these different software, and takes a fraction of the time to convert 12D TINs as compared to the original tin_to_tri.exe program.

Method

Save TIN in appropriate format

First save the TIN you wish to convert in the software’s native text format as follows:

  • For SMS, ensure you are in either the Mesh or Scatter module (depending on which one you wish to save), go to File, Save As… and select under Save as Type: the format “TIN Files (*.tin)”. Provide a filename and export the file in the SMS .tin file format. If you have both Scatter and Mesh module data, you’ll be prompted for which one you wish to export.
  • For 12D, export the TIN in the .12da format as follows… (to be documented).

Run Tin_to_tin.exe

Next run tin_to_tin.exe from a batch (.bat file) or set up for your right mouse button. The type of TIN you wish to convert to must be specified using one of the following options as the first argument:

  • -sms (or -tin) to convert to a SMS .tin file
  • -12d (or -12da) to convert to a 12D .12da TIN file
  • -vm (or -tri) to convert to a Vertical Mapper .tri file

The filename of the TIN being converted is the next argument. If the filename/path has any spaces, it must be enclosed in quotes. For example:
tin_to_tin.exe -sms “My DTM.12da”
will convert the SMS TIN “My DTM.12da” to a 12D .12da TIN. The created .12da file will be named “My DTM.tin.12da”.

Open created TIN

To import the created TIN