I have an arc layer with points and another with lines. The points exist along the lines (as stations). Both layers have an attribute for LineName. How do I pass the specific line name data to the points layer? In my specific example image, the LineName is displayed but the points table has empty LineName attributes, which are the ones I would like to populate.

enter image description here


There are two ways (at least) to achieve this:

  1. Spatial Join the points to the lines, be sure to specify a distance. Even though you think the points are on the line in fact they're more likely to be just very close.
  2. Use Near (advanced license) to get the FID of the line that the point is nearest then attribute join by NEAR_FID and field calculate the value.

Which one you pick depends on your license level and whether you want to change the existing data (adding new fields) or creating an output that has all the attributes of the lines embedded into the points. You can always remove the fields that are added when you're done to return your data into the original state.

  • 1
    Of course, you'll want to take a backup of your data before trying either of these ;) – Stephen Lead Jun 29 '15 at 1:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.