Skip to main content
Question

Cutting a polygon using the shape of another polygon layer?

  • February 27, 2024
  • 5 replies
  • 188 views

mazenaldaas
Contributor
Forum|alt.badge.img+7

Greets,  

Any idea to cut the polygons in the layer 2 based on the polygons in layer 1 in the same shape and close or same ratio of cutting , please note that there is a shifting between tow layers.

or move the polygons in layer 1 to match the location of polygons (based on corners) in layer2  

 

 

5 replies

lambertus
Enthusiast
Forum|alt.badge.img+23
  • Enthusiast
  • 141 replies
  • February 27, 2024

@mazenaldaas interesting case. Could you provide more context of the question, what do layers 1 and 2 stand for? In case you would run the Intersector layer 2 will be split into different parts because layer 1 polygons consist of different parts. Is that what you like to achieve?


mazenaldaas
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 10 replies
  • February 27, 2024

The layer 2 for parcel.

The layer 1 for the same parcel put after cutting to parts (2,3,...parts) but as shown there is a shift.

 

The purpose is reflecting  the cutting in parcels in layer 1 to the original parcel which is in our sample layer 2


joepk
Influencer
Forum|alt.badge.img+20
  • Influencer
  • 144 replies
  • February 27, 2024

Try using an AnchoredSnapper to move polygon 1 onto polygon 2 (polygon 2 is the anchor). Then use an AreaOnAreaOverlayer to cut polygon 2. 


mazenaldaas
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 10 replies
  • February 27, 2024

Dear Joepk, 

 

I tried Anchored Snapper before, but it doesn't give me the desired result, because the polygons in layer 1 is catted… so there is a difference in the corners, plus you will not get the same shape of the polygon 1 when you use AreaOnAreaOverlayer to cut polygon 2..


joepk
Influencer
Forum|alt.badge.img+20
  • Influencer
  • 144 replies
  • February 27, 2024

Why is the data in layer 1 shifted? Was it ever correct? Maybe there is a way to invert the shift so the layers match up nicely.