Man I hope I typed out the title of this thread correctly!
I'm trying to display multiple label fields like the one in the first image. The feature class is underground nap in the splice closure layer. I want to show the enc_size and fiberassignments as labels for the underground nap. How do I do this? I tired reading all kinds of resources on labeling and annotation but I'm falling short on understanding how the hell to do this! I provided my MXD in the second image.
Thanks for the help!
You should be able to add a third label element. If the labels are stacked, all of them may not show in the “Verify” window. Some will scroll out of view, but will still draw. Have you tried drawing the map to see if all labels display as intended?
Based on the info you provided, this expression should work:
[fiberassignments] & vbCrLf
& "Size: " & [enc_size]
remove the parenthesis surrounding the & symbol. Keep in mind that this
will put your text together without a space. Try the following to keep the
text from running together.
& " " &
Hi Katherine,
Under Layer Properties>Labels>Expression, you can stack labels by using either a python or VB expression.
Python Example
[field1] + "\n" + [field2]
If either of your fields are numeric, you may need to make it like this
str([field1]) + "\n" + str([field2])
the \n is a carriage return string that makes a new line for the second field value.
In the labels tab open the Expression tab.
Assuming your field doesn't include the text "Size", you'll need to add that as well. The following should be entered into the expression box.
[fiberassignments] & " " & "Size: " & [enc_size]
If you have Maplex label engine you can add special characters within parentheses to force stacking of labels. You can set which characters to force stacking and set visibility of those characters and stacking behavior under the Fitting Strategy tab under the Placement Properties.
Good luck.
" I want to show the enc_size and fiberassignments as labels for the underground nap."
[fiberassignments] & " " & vbnewline & "Size: " & [enc_size]
Sorry you don't need the space " "