TUFLOW to GIS: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (One intermediate revision by one other user not shown) | |||
Line 19:
=Running TUFLOW_to_GIS=
Simply double clicking on the TUFLOW_to_GIS executable will bring up a
The most common way to run the utility is from a batch file. This allows the user to process multiple outputs at once. A batch file is simply a plain text file containing one or more lines that execute a utility as per the example sections below.<br>
<br>
Line 80:
|-
|"-sgs"|| Suppresses the grid size from the output file name. For example Run_h_g005_max.asc will become Run_h_max.asc
|-
|"-rmp<mesh_part>" || Removes a mesh part from the output. <mesh_part> must be the same name as appears in the .2dm file. The .tcf command Meshparts == ON must have been specified.
|-
|"-ttf<TT_Factor>" || Scales the thickness of arrow tails (default = 0). It will produce arrows suitable for ArcGIS if TT_factor is non-zero. <br>
+ve value(eg. -ttf.01): Thickness is TT_Factor times the arrow size.<br>
-ve value(eg. -ttf-.01): Thickness is TT_Factor times the cell size.
|-
|"-vmax<vmax>"|| The max vector magnitude for scaling vector arrow points.Default is no scaling except for _V.dat files which it is 10.
|-
|" -wld "|| It is used for creating a .wld file from a .tab file. The .tab file must be one created using the Save Window As...option in MapInfo to geo-reference a screen image.
|-
|"-pts<pt types>"|| Outputs only the specified out locations. Note: only valid with -mif or -shp output. Default is All. Any combination of the following:<br>
C - 2D cell centres<br>
H - 2D cell corners<br>
UV - 2D cell sides<br>
T - 1D Water Level Line triangles<br>
T - 1D Water Level Line triangles<br>
Eg: -ptsCT would output only 2D cell centres and 1D water level line points
|-
|"-region"||Outputs a region object, for each 2D cell the output value is the cell centre output. Note: only valid with -mif or -shp output.
|}
Line 99 ⟶ 119:
|"-typeAll"|| Converts all available output types in an xmdf file.
|-
|"-s<output id(integer)>"|| Converts the specified scalar dataset in an xmdf file. For example, <tt>-s1</tt> will convert the first scalar dataset. A summary of the available datasets is listed within the
|-
|"-v<output id(integer)>"|| Converts the specified vector dataset in an xmdf file. For example, <tt>-v1</tt> will convert the first vector dataset. A summary of the available datasets is listed within the
|-
|"-Folder<Folder Name>"|| Converts all datasets within a particular xmdf file. For example, <tt>-Folder"Maximums"</tt> will convert all datasets in the \Maximums\ folder.
Line 110 ⟶ 130:
|}
===XMDF Dataset Example===
For example, to convert the maximum Z1 output from “M01_5m_002_mult.xmdf” the
<tt>TUFLOW_to_GIS_w64.exe -asc -s5 -max M01_5m_002_mult.xmdf </tt><br>
Another way to extract the same dataset using the -path switch is:<br>
| |||