Skip to main content
Solved

How to prevent text to get stacked when writing to DGN

  • July 4, 2022
  • 1 reply
  • 24 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 :-)

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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 :-)