Hi,
I have a SHP with these attributes:
| ID1 | NAME1 | AREA | ID2 | NAME2 |
| 123 | John | 0,12 | 135 | Lisa |
| 123 | John | 1 | 246 | Veronica |
| 456 | Kyra | 3,2 | 246 | Veronica |
| 789 | Oliver | 4,5 | 123 | John |
| 012 | Nick | 78 | 123 | John |
| 012 | Nick | 8,9 | 100 | Nelson |
Then I need to make an expression based on ID´s - for example for JOHN.
"ID1=123 or ID2=123"
But then I need to export it as a new SHP but I want it with ID in output name.
So output file would be "Polygons_123"
For another file would be "Polygons_789" and so on....
Is there any option how to extract this value from expression and make it through Calculate value maybe? Or is there another way?
thank you.