Question

Create an attribute for intersected polygons

  • 2 October 2021
  • 1 reply
  • 1 view

Hi, I have two polygon layers (Layer 1 and Layer 2). Layer 2 contains a subset of Layer 1 polygons i.e. one polygon of Layer 1 can contain 1 to n polygons of Layer 2 (Image). Each polygon in Layer 2 needs to be uniquely identified by using two attributes: ID of Layer 1 and pol which represents the number of Layer 2 polygons within one Layer 1 polygon (image). How to create a pol attribute?


1 reply

Userlevel 4
Badge +30

Hi @moset221​ 

 

In your case, I created a Workspace using the transformer Counter.

 

Inside the configuration was detected the option GroupBY ( your example the ID ) and the Count Start begin 1.

 

Counter 

Thanks in Advance,

Danilo

 

Reply