Question

Snip polygons into smaller pieces


Badge +8

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

Userlevel 4
Badge +30

Hi @katt​ 

 

Did you try to use the custom transformer PolygonCutter?

 

 

Thanks in Advance,

Danilo

Badge +8

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

Badge +2

@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.

Userlevel 4
Badge +30

@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.

Userlevel 2
Badge +17

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

Reply