Skip to main content

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! 

I did it with CenterPointReplacer and TextAdder


Reply