TIN to TIN: Difference between revisions
Content deleted Content added
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..." |
No edit summary |
||
Line 16:
<tt>tin_to_tin.exe -sms “My DTM.12da”</tt>
<br>
will convert the SMS TIN “My DTM.12da” to a 12D .12da TIN. The created .
=Open created TIN=
To import the created TIN:<br>
*For SMS, simply drag and drop the created .tin file from Windows Explorer onto SMS. Alternatively, use File Open… checking first that either the Scatter or Mesh Module is activated.
*For 12D, please see your 12D operator!
*For Vertical Mapper, go to Vertical Mapper, Create Grid, Interpolation…, Triangulation with smoothing, Next >>, Open .tri file…, and select the .tri file created by tin_to_tin.exe. Select Linear solution, choose an appropriate cell size and filename for the Vertical Mapper grid and click Finish.
=Additional Options=
Additional options are:<br>
*-b: Specify a -b as one of the arguments to suppress the “Press Enter” request when the program finishes. This is useful if batching a series of conversions.
*-mif: In addition to the -sms, -12d or -tri flag, specify a -mif to also create .mif/.mid layers of the triangulation and points. Two layers are created, one for the triangles (_T.mif) and one the points (_P.mif). These could be useful for cross-checking the data and for report figures.
=Notes=
*The extension of the input TIN file determines the format, so do not change the file extension.
=Tips=
*In SMS, the Mesh module offers some useful options for editing TINs that the Scatter module doesn’t. These include moving points (check that Nodes, Locked is not ticked), more options in terms of entering elevations, and inserting breaklines (using Nodestrings). Both modules offer the useful option of swapping triangle edges to improve the triangulation.
*To setup a right click functionality in Windows 7 or Windows XP the FileMenu Tools utility can be used. Please see the methodology outlined in this page: [[Run TUFLOW Right-Click Windows 7|Running TUFLOW from Right Click in Windows 7]]. The following changes to the method are necessary:
# Change the Menu Text, for example "Convert .12da to .tin"
# Associate the utility with the .12da or .tin file types
# Under ''Program Properties'' set the ''Program'' to the full path to the TUFLOW utility on your system, in the case the '''tin_to_tin.exe'''
# Under ''Program Properties'' set the ''Arguments'' field to be the output type followed by '''%FILENAMES%'''. For example your argument line may appear as: <br>
<tt>"-sms" %FILENAMES%</tt><br>
If this was associated with .12da file types, this utility could be used to convert a .12da TIN to a SMS .tin file format. By right-clicking on the .12da file, and selecting ''File Menu Tools >> Convert to
| |||