I need to split this polygon using as a reference the rows, how can I do this? These polygons are initially rows, which I transform into polygons using AreaBuilder. As a result it generates 2 polygons, however I need to fragment the polygon into more parts according to the rows.
A possible way is: send the polygon and the lines together into an Intersector, and use an AreaBuilder to create split polygons from the lines output via the Intersected port of the Intersector. If the lines may not cross the polygon entirely, consider using the LineExtender to extend them beforehand.
Try PolygonCutter from FME Hub
FWIW, @takashi's solution is massively quicker than the PolygonCutter, for my application anyway. I did find I had to send the polygons through a GeometryCoercer to convert them to lines before passing into the Intersector, ie. the polygons and lines both need to be the same geometry before the Intersector outputs both via the Intersected port.
FWIW, @takashi's solution is massively quicker than the PolygonCutter, for my application anyway. I did find I had to send the polygons through a GeometryCoercer to convert them to lines before passing into the Intersector, ie. the polygons and lines both need to be the same geometry before the Intersector outputs both via the Intersected port.
Thanks for this tip it saved me some head scratching :-)
This is my solution. Works great!