Arc Label Messages: Difference between revisions
Content deleted Content added
Created page with "=Introduction= In this page we will look at labelling the messages layer outputted by TUFLOW, to help in identify issues with a TUFLOW model. The messages_P.shp file is written ..." |
Chris Huxley (talk | contribs) No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
Line 1:
=Introduction=
In this page we will look at labelling the messages layer outputted by TUFLOW, to help
In this page we cover labelling the messages in two different ways:
* A single label style
* Using classes which allows the check, warning and error messages to be labelled separately and with different label styles.
=Basic=
To label the entire layer including all check, warning and error messages
<ol>
<li>Ensure you have a messages_P.shp file open (and the layer contains messages).</li>
Line 10 ⟶ 13:
<br>
<li>Open the layer properties, by right clicking on the layer in the table of contents and selecting properties. Navigate to the '''Labels''' Tab, set the desired label style and placement.<br>
'''Tip:''' It may be necessary to allow overlapping labels in the placement properties to ensure that you can see all messages.</li>
[[File:Arc Label Basic2.jpg|600px]]
<br>
Line 22 ⟶ 25:
To label these differently in ArcMap the following process can be used.
<li>Ensure you have a messages_P.shp file open (and the layer contains messages).</li>
<li>Right click on the layer in the table of contents and select '''Label'''.</li>
<br>
[[File:Arc Label Basic1.jpg|350px]]
Line 28 ⟶ 31:
<li>Open the layer properties, by right clicking on the layer in the table of contents and selecting properties. Navigate to the '''Labels''' Tab. In the Method Option, from the drop box select '''Define Classes of features and label each class differently'''.</li>
<li>In the '''Class''' section select the '''Add...''' option.</li>
<li>Add a class with name "CHECK".</li>
<li>Set the desired display options for "CHECK" type messages.</li>▼
<li>Select '''SQL Query...''' to define the class. In the SQL Query window set the following in the select from dialogue:<br>▼
[[File:Arc Label Adv01.jpg|600px]]
<br><br>
▲<li>Select '''SQL Query...''' to define the class. In the SQL Query window set the following in the select from dialogue:<br>
<tt>"Message" like '%CHECK%'</tt><br>▼
This is shown in the image below.
<br>
▲"Message" like '%CHECK%'<br>
<br><br>
▲[[File:Arc Label Adv02.jpg|400px]]
<
▲Set the desired display options for "CHECK" type messages</li>
<li>Repeat the process for WARNING ("Message" like '%WARNING%') and ERROR ("Message" like '%ERROR%') messages, setting different styles for each type of message.</li>
Now when messages are viewed these should be displayed with the styles set for check, warning and error type messages.
Line 48 ⟶ 54:
[[File:Arc Label Adv05.jpg|600px]]
<br>
<br>
{{Tips Navigation
|uplink=[[ArcGis_Tips | Back to ArcGIS]]}}
| |||