Skip to main content
Question

MultiLine Labels

  • 11 February 2013
  • 2 replies
  • 4 views

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
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.
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