HEC-RAS to TUFLOW: Difference between revisions
Content deleted Content added
Chris Huxley (talk | contribs) No edit summary |
Chris Huxley (talk | contribs) No edit summary |
||
Line 50:
=== Executing the Utility ===
The utility is currently limited to being run using a batch file. To create a batch file, create a new text file in the same location as the sdf file. The name is arbitrary but the file must have the extension ".bat". For example the file name could be "run_sdf_to_GIS.bat". Enter the relevant command syntax to the batchfile (refer to the 'Input Flags' table and examples provided below). Double click the batch file in windows explore to execute the model conversion.
=== Input Flags (switches)===▼
A list of the input switches is provided below:▼
{| align="left" class="wikitable"▼
! Switch▼
! width=90% | Description▼
|-▼
|"-mif"|| The output format will be the MapInfo Interchange format (.mif/.mid) recognised by most GIS software▼
|-▼
|"-shp"|| The output format will be the ArcGIS Shapefile format. This can be opened directly in ArcMap, QGIS or SAGA (and most GIS software)▼
|-▼
|"-notrim|| This command will prevent the utility from trimming cross-section data at levee markers. This is a non-default option due to most users converting HEC-RAS creek cross-section data into a TUFLOW 1D compatible format, whilst the surrounding floodplain in 2D areas are modeled in 2D (not requiring HEC-RAS inputs)▼
|}▼
.▼
=== Example Syntax ===
<u>Description:</u> Convert HEC-RAS sdf data to mif format, trimming cross-section at levee markers (default trim option):<br>
Line 65 ⟶ 80:
<u>Note</u> The above listed syntax assumes that the sdf_to_gis.exe, hecras_example.sdf file and associated batch file are located within the same directory. If not the case, absolute filepath referencing will be required. For example:
<li><tt>C:\TUFLOW\Utilities\HECRAS\sdf_to_gis.exe -mif -notrim hecras_example.sdf</tt></li>
▲=== Input Flags (switches)===
▲A list of the input switches is provided below:
▲{| align="left" class="wikitable"
▲! Switch
▲! width=90% | Description
▲|-
▲|"-mif"|| The output format will be the MapInfo Interchange format (.mif/.mid) recognised by most GIS software
▲|-
▲|"-shp"|| The output format will be the ArcGIS Shapefile format. This can be opened directly in ArcMap, QGIS or SAGA (and most GIS software)
▲|-
▲|"-notrim|| This command will prevent the utility from trimming cross-section data at levee markers. This is a non-default option due to most users converting HEC-RAS creek cross-section data into a TUFLOW 1D compatible format, whilst the surrounding floodplain in 2D areas are modeled in 2D (not requiring HEC-RAS inputs)
▲|}
▲.
<br>
| |||