ASC to ASC: Difference between revisions
Content deleted Content added
Steph.dufour (talk | contribs) |
|||
Line 84:
<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>
If using vertical mapper the -grc option can be used to create the .asc file in classified grid format, in this format rather than storing a numerical value when interrogating an area a label is returned. This format is not recognised by ArcMap or QGIS. If using the grc option it is also possible to specify the desired RGB (red, green, blue) values for the output grid in the .csv file used for the classification. The RGB values should be specified in the 3-5th columns of the .csv file.<br>
<li><tt>asc_to_asc.exe -RGB -grc -classify depth_classify.csv results_dMax.asc</tt><br>
{| align="center" class="wikitable"
! style="background-color:#005581; font-weight:bold; color:white;" width=20% | Cutoff Value
! style="background-color:#005581; font-weight:bold; color:white;" width=20% | Name
! style="background-color:#005581; font-weight:bold; color:white;" width=20% | R
! style="background-color:#005581; font-weight:bold; color:white;" width=20% | G
! style="background-color:#005581; font-weight:bold; color:white;" width=20% | B
|-
|0.5|| Less than 0.5 || 0 || 0 || 192
|-
|1.0|| 0.5 to 1.0 || 0 || 0 || 128
|-
|2.0|| 1.0 to 2.0 || 0 || 0 || 64
|}
In the image below two grids are shown in MapInfo / Vertical Mapper, one is classified without the -grc option and a class number is returned for the grid. The second grid has bee created with the -grc option shown, when querying this the label is returned instead.
[[File:TUFLOW Utilities GRC01.jpeg|600px]]
==Extract Breaklines from DEM==
'''"-brkline <gis file in 2d_zsh format>"'''<br>
| |||