Skip to main content
Solved

clipping each clipper against the clippee


boubcher
Contributor
Forum|alt.badge.img+11

@takashi

I am looking to clip each clipper ( circle ) against the clippee ( polygon),

what I am getting from the transformer is 1 st the polygon will clip the first circle then the balance of the polygon will be clipped with the second circle

from the transformer we should get 2 inside and 2 outside features

 

 

 

 

Best answer by takashi

If I understood the requirement correctly, this workflow would be a solution.

  1. Add unique ID to the circles.
  2. Use the SpatialRelator to collect and store IDs of circles (Supplier) that are spatially related to the polygon (Requestor) into a list attribute which will be added to the polygon.
  3. Use the ListExploder to explode the polygon on the list. Here, each resulting polygon will have an ID of a related circle.
  4. Clip the polygons by the circles grouping by ID. Done.

View original
Did this help you find an answer to your question?

3 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • November 27, 2018

The clippee is the feature to be clipped, if you want the output to be the areas of the circles inside the polygon and the areas outside the polygon, then the circles need to be your clippees and the polygon your clipper


takashi
Evangelist
  • Best Answer
  • November 27, 2018

If I understood the requirement correctly, this workflow would be a solution.

  1. Add unique ID to the circles.
  2. Use the SpatialRelator to collect and store IDs of circles (Supplier) that are spatially related to the polygon (Requestor) into a list attribute which will be added to the polygon.
  3. Use the ListExploder to explode the polygon on the list. Here, each resulting polygon will have an ID of a related circle.
  4. Clip the polygons by the circles grouping by ID. Done.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • November 28, 2018
takashi wrote:

If I understood the requirement correctly, this workflow would be a solution.

  1. Add unique ID to the circles.
  2. Use the SpatialRelator to collect and store IDs of circles (Supplier) that are spatially related to the polygon (Requestor) into a list attribute which will be added to the polygon.
  3. Use the ListExploder to explode the polygon on the list. Here, each resulting polygon will have an ID of a related circle.
  4. Clip the polygons by the circles grouping by ID. Done.

@takashi

Thanks ,

this what I was looking for

 


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