Solved

Duplicate feature based on attribute?


Badge +14
  • Contributor
  • 117 replies

I would like to duplicate features based on attribute. See following example.

The result I would like to acchive would be a set of new features containing only A, only B and only C. E.g. this would require the geometry1 to be duplicated into one A and one B. To make things more complicated the attributes are dynamic, so matching sets need to be found before duplicating.

 

Any ideas on how to achieve this?

 

table2

icon

Best answer by nielsgerrits 5 May 2021, 12:58

View original

3 replies

Userlevel 6
Badge +31

AttributeExploder with Keep Geometry = Yes, then test if _attr_value has a value?

Badge +10

I'm not 100% sure of the outcome you want here, but I think starting with the AttributeExploder would be the way to go

Badge +14

Thanks both of you! That was enough to get me on to the next step.

Reply