Skip to main content
Question

MultiLine Labels

  • February 11, 2013
  • 2 replies
  • 9 views

Forum|alt.badge.img
I have a situation where I would like to label buildings based on three attributes,(label1, label2, label3) and I would like to label them on seperate lines.

 

 

I successfully did this using the the TextAdder transformer in addtion to the Offsetter Transformer but I had to use three of each.... is their a way of  completing this task using a constant within the Editor parameters so I didn't have to use 1 transformer per label.

 

 

For example in GeoMedia you can use NewLine

 

Label1NewlineLabel2NewlineLabel3

2 replies

davideagle
Contributor
Forum|alt.badge.img+19
  • Contributor
  • February 11, 2013
Try using the StringConcatenator to concatenate your 3 attributes as it has a "New Line" string type that you can use between your values. You should be able to feed this output directly into the Text Adder.

Forum|alt.badge.img
  • February 11, 2013
Hi,

 

 

Just use a StringConcatenator,  create a new attribute that contains the  the three values concatenated with a "newline" between each and then you can use that attribute in one of the label transformers.

 

 

Cheers,

 

Todd

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings