Programatically transfer attributes from line to selected points: : Attribute transfer tool

462
1
02-26-2020 04:49 AM
AnnCrystal
New Contributor II

Spatial Adjustment>Attribute Transfer Tool in ArcMap transfers attributes between mapped source and target layers by mouse clicks. The disadvantage is you can do one point/line at a time. My problem is to transfer attributes from a single line (a street) to multiple selected points (selected address points).

I was looking into the documentation of IAttribute Transfer: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#IAttributeTransfer.htm

However, that code is looking into automated transfer of overlaying lines. I wanted to interactively select source line and target points by clicking and transferring just as Attribute Transfer tool does (in addition to do multiple selection of points) Any pointers or sample codes to achieve this? I am really stuck.

Tags (1)
0 Kudos
1 Reply
DuncanHornby
MVP Notable Contributor

Couldn't you just use the spatial Join tool?

0 Kudos