Skip to main content

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

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?


Hi ​@takashi 

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

 


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


 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

 

 


Hopefully the attached updated workspace example works for you.

Result from Updated Workspace Example

Red : Original Red Polygons
Blue : Moved Red Polygons


Super…

 

Thanks ​@takashi