Spatial joining multiple points to a line

339
3
Jump to solution
07-12-2021 07:08 AM
Surya_Vaidy
New Contributor

Hello!

I am attempting to spatial join multiple points representing snowplows to roads in hopes to calculate the frequency of plowing services along certain roads. However, my attempts at joining haven't worked out. I've been using "one to one" joining, but should I be using "one to many" joining? Furthermore, not all the points generated from my data line up exactly with roads. Is "within a distance of" the optimal match option for the join, or is there another option that is perhaps better?

Thank you!

0 Kudos
1 Solution

Accepted Solutions
Robert_LeClair
Esri Frequent Contributor

Surya - the Spatial Join geoprocessing tool does have a "within a distance" match option parameter that you could use in your analysis.  Depending on how you set up the spatial join you could do a one to many parameter.  One road segment to many snowplows as it were.  

View solution in original post

0 Kudos
3 Replies
Robert_LeClair
Esri Frequent Contributor

Surya - the Spatial Join geoprocessing tool does have a "within a distance" match option parameter that you could use in your analysis.  Depending on how you set up the spatial join you could do a one to many parameter.  One road segment to many snowplows as it were.  

0 Kudos
Surya_Vaidy
New Contributor

Thank you very much!

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

It is a common problem where the points might not be intersecting with the line. In this scenario, "WITHIN A DISTANCE OF" with a required threshold distance should work. 

ONE_TO_ONE relationship should be fine, if you are looking for the count (unless you are looking for multiple copies of the target feature).



Think Location
0 Kudos