Skip to main content

Transforming GML to DXF with text attributes written inside polygons

  • February 22, 2025
  • 1 reply
  • 48 views

mario_bla
Participant
Forum|alt.badge.img+6

Hello,

I have GML file with polygons. Polygons are defined by coordinates inside LinearRing attribute. There are some other attributes, one of which is an ID of a polygon.

I want to transform that GML to DXF format (only polygons and IDs (as texts) which have to be placed inside the polygons) and I have managed to do so, but I have a problem with some funny shaped polygons for which ID falls outside the polygon.

What do I have to do to make sure those texts (IDs) in DXF are put inside corresponding polygons?

Thanks in advance for any suggestions.

Best regards! 

1 reply

mario_bla
Participant
Forum|alt.badge.img+6
  • Author
  • Participant
  • February 24, 2025

I did it with CenterPointReplacer and TextAdder


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