12da to from GIS: Difference between revisions

Content deleted Content added
Line 24:
|"-xs"|| When converting a .12da file to a .mif file creates a TUFLOW cross-section database (ie. one .csv file per 3D polyline) and a 1d_xs layer (1d_tab or 1d_xs format – see Read GIS Table Links and Section 4.6.3). This is used to extract 1D cross-sections from a DTM for use in TUFLOW. Cross-sections generated this way can also be viewed and edited in the SMS TUFLOW Interface.<br>
The process to create the cross-sections from a 12D DTM is as follows:<br>
*Digitise the location of cross-section lines either in a GIS or in 12D. If in a GIS, export the layer out as a .mif file and then run 12da_to_from_mif12da_to_from_gis to convert the .mif file into a .12da file. For example use:<br>
:<tt>12da_to_from_gis.exe xs.mif</tt><br>
:to generate a file called xs.12da. Import the .12da file into 12D.<br>
Line 30:
*Export the 3D draped polylines from 12D as a .12da file.
*Run 12da_to_from_gis using the -xs option. For example:<br>
:<tt>12da_to_from_gis.exe -xs xs_draped.12da</tt><br>
:This will produce a 1d_xs layer ready for use by TUFLOW and a .csv file for each cross-section line. Keep the 1d_xs layer and the .csv files in the same folder in the event that you move them elsewhere.<br>
Using the xsGenerator.exe utility, you can also assign material values to each of the cross-section points (see <u>[[xsGenerator | this page]]</u>).