Skip to main content
Question

Snip polygons into smaller pieces

  • March 9, 2022
  • 5 replies
  • 63 views

katt
Supporter
Forum|alt.badge.img+12
  • Supporter
  • 41 replies

I have a polygon with a line inside. I want to create several polygons out of the big one by snipping the line every 1 Meter. See my image for reference: I want to cut the red line every meter and split the polygon at that point by using a perpendicular line to the red one. As a result I will get more than 10 polygons.

5 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • March 9, 2022

Hi @katt​ 

 

Did you try to use the custom transformer PolygonCutter?

 

 

Thanks in Advance,

Danilo


katt
Supporter
Forum|alt.badge.img+12
  • Author
  • Supporter
  • 41 replies
  • March 9, 2022

Hi @katt​ 

 

Did you try to use the custom transformer PolygonCutter?

 

 

Thanks in Advance,

Danilo

Yes, but it didn't work properly. I managed to create the perpendicular lines. How can I combine them to polygons ?2


Forum|alt.badge.img+2
  • 1891 replies
  • March 10, 2022

@katt​ if you feed in the perpendicular lines and the polygon into PolygonCutter, that should cut your polygon for you as @danilo_fme​  suggests. I've attached an example workspace (FME 2021.2). If this doesn't work with your data, perhaps attach a small example dataset.


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • March 10, 2022

@katt​ if you feed in the perpendicular lines and the polygon into PolygonCutter, that should cut your polygon for you as @danilo_fme​  suggests. I've attached an example workspace (FME 2021.2). If this doesn't work with your data, perhaps attach a small example dataset.

Thanks @Mark Stoakes​  for endorse my answer.


takashi
Celebrity
  • 7843 replies
  • March 10, 2022

Hi @katt​ , the BoundsSplitter transformer from FME Hub could also be helpful.