XsGenerator: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 8:
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>
{| align="center" class="wikitable"
 
! Attribute
! width=15% | Type
! width=70% | Description
|-
|Z|| Float || The ground/bed survey elevation at that point on the cross-section. Must be in metres.<br>
Mandatory for point objects. Not used for lines.
|-
|MNR|| Float || The Material, Manning’s n or Relative resistance value at that point along the cross-section. Use the –M, -N or –R switch in the table below to indicate which type of value it is.<br>
Mandatory for point objects. Not used for lines.
|-
|LCR|| Character (1) || One of “L”, “C” or “R” to indicate whether the point is on the left, centre or right bank. If this is unknown, specify “C” for all points along the cross-section. If left blank, “C” is assumed. <br>
Optional for point objects, unless there is no associated line, in which case the start of the cross-section must be denoted by a “L” and the remaining points must be assigned a value (there must be at least two “C” points in succession, and subsequent isolated “L” and “R” points are ignored).<br>
Not used for lines.<br>
|-
|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.
|}
=Examples=
{{Tips Navigation