ASC to ASC: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 72:
<li><tt>asc_to_asc.exe -classify classifications.csv results_VMax.asc</tt><br>
Outputs a classified grid, based on the cut off values and names in the "classifications.csv".</li><br>
==Extract Breaklines from DEM==
'''"-brkline <gis file in 2d_zsh format>"'''<br>
This feature was added to the 2013-06-AA version of the utility.<br>
Extracts elevations from a DEM for breaklines in the 2d_zsh format. This GIS input should have four attributes, z, dz, width and shape_options, as described in the TUFLOW manual. For the utility only the width and the shape options are used. Valid options are "Max" and "Min". The utility will extract an elevation at each <u>vertex</u> along the line. Depending on the line width and DEM cell size, the following methods are used:<br>
* If the width is set to 0, the closest DEM value to the vertex is used. The shape_option is ignored.
* If the width is greater than 0, but less than 1.5 times the DEM cell size the four DEM values surrounding the vertex are used. If max or min is specified as on option the max or min of the four values is used. If max or min is not specified, the average of the four values is used.
* If the width is greater than 1.5 times the DEM cell size, at each vertex a buffer region is created and all DEM values within the buffer object are processed. The diameter of the buffer region is equal to the width specified. If max or min option is not specified, the average of the values within the region is used. These buffer regions are outputted as a separate file.
Example:<br>
<li><tt>asc_to_asc.exe -brkline 2d_zsh_breaklines_L.shp DEM.asc</tt><br>
=Other Options (switches)=
A list of the general switches is provided in the table below, these are available for all operations listed above:<br>
| |||