12da to from GIS: Difference between revisions

Content deleted Content added
Line 38:
|}
 
= Examples =
<tt>12da_to_from_gis.exe -mif road_breaklines.12da</tt><br>
creates .mif/.mid files of the 2D and 3D breaklines in the file road_breaklines.12da. The .mif/.mid files can be directly used by Read GIS Z Line.
Line 49:
This creates 3D breakline .mif/.mid files of the TUFLOW HX lines that can be used to ensure the 2D HX cells are set to the exact elevations along the HX lines by using the below command in the .tgc file.:<br>
<tt>Read GIS Z Line THICK == mi\2d_hx_lines_draped.12da.mif </tt>
 
<span style="color:red">'''UNDER CONSTRUCTION'''</span>
 
=== CONVERT FROM GIS TO 12DA ===
 
<tt>1: 12da_to_from_gis.exe &lt;Lines&gt;.mif</tt><br />
Converts to 2D breakline.
 
Options:<br />
<tt>-zln</tt> converts a TUFLOW 3D breakline to 12da format, including<br />
&nbsp;&nbsp;&nbsp;interpolation of Z values at intermediate vertices.
 
<tt>2: 12da_to_from_gis.exe -zln &lt;Points&gt;.shp &lt;Lines&gt;.shp</tt><br />
<tt>3: 12da_to_from_gis.exe -zln &lt;Points&gt;.mif &lt;Lines&gt;.mif</tt><br />
<tt>4: 12da_to_from_gis.exe -zln &lt;Lines_and_Points&gt;.mif</tt>
 
=== CONVERT FROM 12DA TO MIF ===
 
<tt>5: 12da_to_from_gis.exe -mif &lt;12da_file&gt;.12da &lt;Header&gt;.mif</tt><br />
&lt;Header&gt;.mif is any .mif file with the correct projection.<br />
Will search input directory for "Header.mif" or "Projection.mif" if omitted.
 
=== CONVERT FROM 12DA TO SHP ===
 
<tt>6: 12da_to_from_gis.exe -shp &lt;12da_file&gt;.12da &lt;Header&gt;.prj</tt><br />
&lt;Header&gt;.prj is any .prj file with the correct projection.<br />
Will search input directory for "Header.prj" or "Projection.prj" if omitted.<br />
.4da extension also accepted.
 
Options:<br />
&nbsp;&nbsp;&nbsp;<tt>-hip</tt> includes 12D hipdata polylines.<br />
&nbsp;&nbsp;&nbsp;<tt>-xs</tt> creates TUFLOW .csv cross-section files and 1d_xs layer.
 
Output Options:<br />
&nbsp;&nbsp;&nbsp;<tt>-out &lt;output_filename&gt;</tt> Specify the output file name.<br />
&nbsp;&nbsp;&nbsp;For conversions to .12da the "<tt>-model &lt;model_name&gt;</tt>" option can be used to set the model name.
 
<tt>7: 12da_to_from_gis.exe -out output_file.12da &lt;Lines&gt;.mif</tt><br />
<tt>8: 12da_to_from_gis.exe -model 12d_Model_Name &lt;Lines&gt;.mif</tt>
 
=Frequently Asked Questions (FAQ)=