TUFLOW to GIS: Difference between revisions

Content deleted Content added
No edit summary
Line 1:
=Introduction=
The TUFLOW_to_GIS.exe is a utility available on the the TUFLOW website <u>([http://www.tuflow.com/Downloads_UtilitiesTuflow%20Utilities.htmaspx Download TUFLOW utilities])</u>.
 
The utility can be used to convert TUFLOW outputs (.dat and .xmdf) into formats that can be imported into GIS packages such as MapInfo, ArcGIS, QGIS and SAGA. For more details on the TUFLOW utility please see section 11.2 of the 2010 TUFLOW manual.
 
=Running TUFLOW_to_GIS=
Simply double clicking on the TUFLOW_to_GIS executable will bring up a DOS prompt that that gives you some instructions on running the utility.<br>
The most common way to run the utility is from a batchfile. 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>
The most common way to run the utility is from a batchfile. 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.
For more common tasks a right click function can be setup in Windows to perform a particular conversion. FileMenuTools can be used to set custom right click functionality, the method is similar to the method of starting [[Run_TUFLOW_Right-Click_Windows_7 | TUFLOW from a right click]]. The '''Program''' input should refer to the location of the TUFLOW_to_GIS executable and the '''Arguments''' input should contain the desired option and then %FILENAMES%. For example <tt>-b -asc -TypeAll -max %FILENAMES%</tt> could be used to convert all of the "Maximums" data into gridded .asc format.
 
=Output Options=
== Gridded Data ==
TheGridded major(raster) outputdata optionsis areoutputted 3Din gridthe inESRI ASCII grid format.asc This is plain text format, whichand canis bevery readwidely intorecognised and used by a variety of GIS software including ArcGIS (requires Spatial Analyst), QGIS, SAGA and MapInfo (requires Vertical Mapper or Encom Discover). This is specified with the flag '''-asc'''.
 
==Point and Vector Data==
Vector outputs (e.g. velocity or flow) can be written as either points or arrows. Scalar outputoutputs (e.g. depth or level) can be written as points. These can currently be written out in either MapInfo format (.mif) or ArcGIS shapefiles (.shp). The '''-mif''' flag is used to output in MapInfo format and '''-shp''' to output in shapefile format. Only one type (-mif or -shp) can be processed at a time, to output in both formats, use two entries in a batchfile.
 
=Input Flags (switches)=
A list of the input switches is provided in the 2010 TUFLOW manual as Table 11.1. However, the most common arguments are:
 
{| align="center" class="wikitable"