Hi there,
I have a layer with tens of thousands of features which need a group identifier attaching. I have a second layer with broad polygons with that group identifier. Unfortunately, there are multiple cases where the features lay within more than 1 polygon. Now I can use a spatial join to join these two layers, but this picks the first option and then tells me there are maybe 2 or more other possible joins. What I'm wondering is whether there is any way instead to say this feature joins to this polygon with attribute A, and this one with attribute B etc. This way a quick labelling would make it easy to decide which was most likely.
Ideally, I'd like to create some sort of buffer around the features whereby you could automatically prioritize which of the associated features was the most likely match, but I suspect that would be far too complex.
Attached is a screenshot of a small section. The red dashed polygons are the group polygons with a unique UID, the rest are the features, many of which sit within multiple polygons.
I hope someone can help.
Thanks
Simon
Solved! Go to Solution.
This can be easily done and you were almost there. The trick is it set up the field map with concatenation.
So input data is this:
I want to join the polygon ID's to the lines, thus the Spatial Join is set up as:
The field map was set up as below; take note of the ACTION:
Run the tool and the output is a new line dataset with concatenated polygon ID's.
This can be easily done and you were almost there. The trick is it set up the field map with concatenation.
So input data is this:
I want to join the polygon ID's to the lines, thus the Spatial Join is set up as:
The field map was set up as below; take note of the ACTION:
Run the tool and the output is a new line dataset with concatenated polygon ID's.
Brilliant. Thank you 😊