I would like to make a spatial join and use every join feature only once.
Current Input
- Layer1 = Lines of road segments --> Target Features
- Layer2 = Point data of accidents --> Join Features
- Join Operation -->Join one to one
- Keep all target features --> check
- Match Option --> within a distance (25 Meters because the points are not perfectly accurate)
Wish
Spatial join should match every accident to one and only one road. Output should have a Join count with the number of accidents that happened on each road segment. Each accident should therefore be counted on the closest road segment.
Problem
The only thing that doesn't work until now is, that the accidents can be assigned to multiple road segments this way. How can I prevent this?