Hello appreciated community,
I know the nearest-tool to find one nearest feature (within a radius). But this tool doesn’t fit for my goal anymore:
I have a feature-layer with road-segments (polylines) and a second feature-layer “intersections” (points).
The intersection points are of course very close to the roadsegments (less the 5 meter), when there is an intersection. One road segment has mostly two intersections (one at each end) but sometimes only one overall (dead end). On the other hand every intersection has three (T-junction) or four closed road segments.
Now, my wish is to join the intersections and the road segments, e.g. like with the nearest tool. But unfortunately I have mostly more than one element, which need to joined.
Maybe there is a kind of a buffer tool. So I need to find all intersections within a 5 meter radius of the road segments or all road segments within a 5 meter radius of the intersections.
Do you know any suitable tool in ArcMap or do you have any another idea? Thank you so much.
Andreas
p.s. ArcMAP 10.0, win 7 64
Solved! Go to Solution.
Not sure if it is the best suited tool as per your requirement, but check Spatial Join.
Match Option: WITHIN_A_DISTANCE
Not sure if it is the best suited tool as per your requirement, but check Spatial Join.
Match Option: WITHIN_A_DISTANCE
Hi Jayanta,
Once again: THANK YOU! You are so helpful!!!
It might seemed to be the right tool. But maybe I don’t understand the setting options.
If I choose "join_one_to_one" the join_count of the attribute table is right (mostly 2, like expected), but I don’t see two single FIDs of the joined features.
If I choose "join_one_to_many" the join_count is always 1 and but one right FID of the joined feature.
Did I something wrong?
Andreas
Sorry, now i got it. Sometimes ist better to sleep a night to think about it. The "join_one_to_many" give out in case of two different joins two rows in the Attribut table with the same TARGET_FID but different JOIN_FIDs.
So, the Spatial Join is absolutly the right tool: THANK YOU JAYANTA!