Skip to main content
Solved

How to prevent text to get stacked when writing to DGN

  • July 4, 2022
  • 1 reply
  • 10 views

killphil84
Participant
Forum|alt.badge.img

I've got a set of polygons from a PostGis DB and want to write them to DGN. On one level, I've got the polygons and on another level, named label, I want to put out a text string from an attribute. Some of the polygons have more than one entry here, which leads to stacked texts - I've used a centerpoint replacer, labelpointreplacer and dgnstyler. I guess when only having two or three entries, I could solve the problem by subtracting a fixed value from "igds_insertion_y", but I don't know how many entries will be there in advance and already encountered some cases where a polygon had 40 to 50 entries I have to write one below the other.

Best answer by killphil84

I'va managed to solve my problem with: GeometryExtractor --> ListBuilder --> ListConcatenator (Newline as seperator) --> GeometryReplacer. Then I used "_concatenated" in a LabelPointReplacer. This works just fine for me :-)

View original
Did this help you find an answer to your question?

1 reply

killphil84
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • Best Answer
  • July 4, 2022

I'va managed to solve my problem with: GeometryExtractor --> ListBuilder --> ListConcatenator (Newline as seperator) --> GeometryReplacer. Then I used "_concatenated" in a LabelPointReplacer. This works just fine for me :-)


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