Skip to main content
Solved

one by one clip

  • February 13, 2017
  • 1 reply
  • 20 views

Hello,

0684Q00000ArEzJQAV.png

in the picture there are lines and polygons. Both have a code attribute. The idea here is to clip the lines with polygons having the same code! E.g. for polygon 791238(one the left of the picture), lines within yellow block having the same code as this polygon, and they need to be clipped. So I thought the process will be:
  

for each polygon:  
    select the lines having the same code as the polygon
    clip selected lines with the polygon

How can I do this in FME? Or are there approaches?

Thanks!

Best answer by jeroenstiers

Hi @stevenhz

You are looking for the clipper using the group by functionality.

More information to be found here:

https://docs.safe.com/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/clipper.htm

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img+7
  • Best Answer
  • February 13, 2017

Hi @stevenhz

You are looking for the clipper using the group by functionality.

More information to be found here:

https://docs.safe.com/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/clipper.htm