Skip to main content
Solved

Clip and move

  • August 21, 2025
  • 6 replies
  • 193 views

mazenaldaas
Contributor
Forum|alt.badge.img+7

Greets,

I have two question: 
First one: how can I clip the green polygons based on the reds one with the same ratio?
Second one: is there any way to move the red polygons to match the border of the green polygons.

 

The Red and green polygons not in the same layer

Best answer by takashi

Hopefully the attached updated workspace example works for you.

Result from Updated Workspace Example

Red : Original Red Polygons
Blue : Moved Red Polygons

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.

6 replies

takashi
Celebrity
  • August 21, 2025

Hi ​@mazenaldaas ,

Just an idea, I think you could use RubberSheeter and some other transformers to move the red polygons boundary so that it match the green polygon boundary, if you could firstly create control lines for the four corners - from each red corner to corresponding green corner.

Can you share a sample dataset including two layers - green polygons and red polygons with us?


mazenaldaas
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • August 24, 2025

Hi ​@takashi 

I appreciate your response 
you can find sample of data in the attached file

 


takashi
Celebrity
  • August 24, 2025

@mazenaldaas , thank you for sharing the sample dataset. It’s an interesting challenge.

The screenshots below illustrates my idea. See also the attached workspace example to learn more.

1. Original Green and Red polygons
2. Create simple quadrangles surrounding original Green and Red polygons
3. Create control lines representing required movement of four corners on quadrangles originated from Red polygons
4. Perform rubber sheeting on original Red polygons using control lines
5. Moved Red polygons and original Green polygons

Hope this helps.


mazenaldaas
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • August 25, 2025

 Thank you ​@takashi  for sharing this amazing solve of this challenge 

 

I made some changes on the test database 

I need to move this red polygon to match the border of two separate green polygons do you have any idea to solve this..

you can find the updated test database in the attached file

 

 


takashi
Celebrity
  • Best Answer
  • August 26, 2025

Hopefully the attached updated workspace example works for you.

Result from Updated Workspace Example

Red : Original Red Polygons
Blue : Moved Red Polygons


mazenaldaas
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • August 26, 2025

Super…

 

Thanks ​@takashi