I've got a road network (line features) and a trip of GPS-Points. I want to join attributes from the road network to every point. So for each point i create a buffer. If the buffer intersects with a line feature, the attribtes are written to the point. That is all no problem. However I do not want to write attributes to points if the buffer intersects with to or more lines. Any ideas how to do this? I work in ArcGIS. Is there a way to do this without using python?
This can be achieved in several steps.
- Run a Spatial Join for your buffer polygons and road network layers (right-click the buffer polygons layer in the TOC and choose Join and Relates > Join).
You will get an output polygon feature class which contains information on how many road features were located (even partially) within the buffered polygons.
Run a Join between the output feature class obtained in the step 1 and the source buffered polygons layer to find out which features you do not want to take into analysis (when you run Intersect and copying attributes).
Either set up a definition query or do a selection > export data to a new feature class when you have selected those features that have either null or 1 values (which are valid in your case) in the Count field.