XsGenerator: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 7:
#If there is no cross-section line for a set of elevation points, this is accepted provided that at least one point (the start on the left bank) as a LCR values of “L” to denote the start of the cross-section. There must also be at least two “C” points in succession. Except for the first “L” point, subsequent isolated “L” and “R” points are ignored. This means it is possible to generate a cross-section database from a layer of surveyed points only, provided each point is assigned their respective XS_ID.
If a TUFLOW cross-section database has been created using [[12da_to_from_mif | 12da_to_from_mif.exe]], it will have created a .mif layer ready to be used for xsGenerator.exe. This layer can be used to assign material values in a GIS to the MNR attribute from a material polygon layer (eg. your 2d_mat layer), then processed by xsGenerator to recreate the TUFLOW cross-section database with material values allocated across the cross-section profiles in the .csv files.<br>
xsGenerator can also be used to generate a cross-section database using survey data in the ISIS format (see the isis option). The first file specified must a .mif file in the correct projection, with subsequent files being the survey files. Wildcards can be used to input numerous files (eg. *.xyz).<br><br>
'''TABLE 1: xsGenerator .mif Layer Attributes'''
{| align="center" class="wikitable"
Line 26 ⟶ 27:
|XS_ID|| Character (12) || The ID or label to be used for the cross-section. This same label is used for naming the .csv file that will contain the XZ profile of the cross-section.<br>
Mandatory for point and line objects.
|}
<br>
'''TABLE 2: xsGenerator Options (Switches) for .MIF Input Files'''
{| align="center" class="wikitable"
! Switch
! width=85% | Description
|-
|"-M"|| The MNR attribute in the .mif file is a material number.
|-
|"-N"||The MNR attribute in the .mif file is a Manning’s n value.
|-
|"-R"||The MNR attribute in the .mif file is a relative resistance number.
|}
<br>
'''TABLE 3: xsGenerator Options (Switches) for .ISIS Cross-Section Input Files'''
{| align="center" class="wikitable"
! Switch
! width=85% | Description
|-
|"-isis"||Indicates the input files are in the ISIS cross-section format.
|-
|"-M"|| Use materials where the material number is equal to 1000 times the Manning’s n value.
|-
|"-N"||Use the Manning’s n values (rather than materials).
|}
=Examples=
| |||