TUFLOW to GIS: Difference between revisions

Content deleted Content added
Line 170:
 
== Converting to Arrows ==
To output to vectors file specify either a MapInfoshapefiles "-mifshp" or Arc shapefilesMapInfo ("-shpmif") output type and the "-vector" option. This will create a vector dataset, with the vectors stored as polygon objects.<br>
The size of the vectors can be controlled with the scale factor ("-sf") switch.
'''NOTE:''' TheIf using input .dat file orthe dataset type must be a vector dataset, such as velocity or unit flow.<br>
* Convert output time 2 to a MapInfo vector file at cell corners:<br>
<li><tt>TUFLOW_to_GIS.exe -mif -vector -b -t2 M01_5m_003_V.dat</tt></li>
<u>Description:</u> Convert to a MapInfo format ("-mif"), using vector outputs ("-vector"), using batch mode ("-b") and converting at time 2 hours ("-t2") for the velocity results '''M01_5m_003_V.dat'''.<br>
 
* Convert output time 2 to a MapInfo vector fileshapefile at cell corners:<br>
<li><tt>TUFLOW_to_GIS.exe -mifb -vectorshp -sf0.5vector -bt2 -t2typeV M01_5m_003_VM01_5m_001.datxmdf</tt></li>
<u>Description:</u> ConvertUsing batch mode (-b), convert to a MapInfoshapefile format ("-mif"shp), using vector outputs ("-vector"), using batch mode ("-b") and converting at time 2 hours ("-t2") for the velocity results '''M01_5m_003_V.dat'''(-typeV).<br>
 
* Convert output time 2 to a MapInfo vector fileshapefile at cell corners:<br>
<li><tt>TUFLOW_to_GIS.exe -mifb -vectorshp -bvector -t2 M01_5m_003_V-sf0.5 -typeV M01_5m_001.datxmdf</tt></li>
<u>Description:</u> As above with a scale factor of 0.5, so that the arrows will be half the length.<br>
 
* Convert output time 2 to a ArcGIS shapefile on a regular grid of 2m spacing for unit flow:<br>
<li><tt>TUFLOW_to_GIS.exe -b -shp -vector -grid2t2 -bsf0.5 -t2grid2 -typeq M01_5m_003_qM01_5m_001.datxmdf</tt></li>
<u>Description:</u> ConvertAs to a ArcGIS shapefile ("-shp"), using vector outputs ("-vector")above on a regular 2 metre grid ("-grid2") using batch mode ("-b") and converting at time 2 hours ("-t2") for the unit flow results '''M01_5m_003_q.dat'''(-typeq).<br>
 
* Convert output time 2 to a MapInfo vector file on a regular grid of 4m spacing:<br>
<li><tt>TUFLOW_to_GIS.exe -mif -vector -sf0.5 -grid4 -b -t2 -typeV M01_5m_003.xmdf</tt></li>
<u>Description:</u> Convert to a MapInfo format ("-mif"), using vector outputs ("-vector") on a regular 4 metre grid ("-grid4") and half-size arrows ("-sf0.5"), using batch mode ("-b") and converting at time 2 hours ("-t2") for the velocity output ("-typeV") for the results file '''M01_5m_003.xmdf'''.<br>
<u>Note:</u> When using processed maxmax xmdf from RES_to_RES utility the -typeV switch needs to be replaced with -v1 switch. -v1 switch calls for the first vector dataset.