Determining distance and value in a raster

Discussion created by kcarbon03 on Dec 13, 2011
Latest reply on May 2, 2012 by nilsbabel
I have a shapefile that contains locations of powerlines (polylines). Each powerline has a unique identifier. I use Spatial Analyst to create a raster that contains the distance to the nearest powerline. What I want to do now is take it a step further and create a new raster that contains the unique identifier of whatever powerline is closest. So, for example, if a certain pixel is 1.5 degrees away from the nearest powerline and that powerline is identified by the number 54364, I want my raster to contain the value 54364 instead of 1.5.

Anyone know how to do this? I have access to all ArcGIS extensions. Any help would be greatly appreciated.