Skip to main content
Question

Cutting the godzillas (large polygons) perpendicularly to their median axis

  • February 18, 2025
  • 3 replies
  • 50 views

chloe
Contributor
Forum|alt.badge.img+1
  • Contributor

Hello everyone,
I am looking to linearize hedge polygons generated by AI. Since linearization is an iterative process, I need to cut the godzillas into smaller polygons to reduce computation time.

I have already tried using the Chopper transformer to make cuts, but unfortunately, at the cut points, the linear features lose their continuity, as you can see in the screenshot below.

The offsets are several meters, so I don’t think post-processing to reconnect the linear features afterward is a good solution—I might end up connecting the wrong ones.

I am therefore looking to cut my polygons along lines perpendicular to the median axis of the polygons.

Below, I have attached my current FME workflow. I believe what I’m missing is the creation of the perpendicular lines and the interval at which to create them.

If you know the transformers missing and their links it would be amazing. 

If you have any other ideas, I’d love to hear them!

Thank you all.

3 replies

geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • February 19, 2025

Maybe the BoundsSplitter from FME Hub can be of help here, see attached workspace.

 


chloe
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • February 19, 2025

Thanks ​@geomancer ! 

 

I’ve tried it but unfortunately I think my polygones aren’t regular enough for the algorithm to detect their orientation correctly. So the line creation is still not perpendicular to the median axis. 

But thanks for the transformer, I might end up using it still! 

 


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • February 19, 2025

What terrible polygons!

I looked at a way of cutting up large polygons a few years ago. That was only at intersections though.

You can find the workspace here. Maybe it will give you some new ideas.

Good luck!


Reply


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