When I use Spatial Join, the distance attribute is not being added to the resulting shapefile.
I'm trying to use Spatial Join to assign each of 16,151 points to one of three zones (see screenshot), and also assign a distance field so I can include points that fall outside the zones (in this case there is only one, but I will be doing this with many other point shapefiles).
I'm doing a JOIN_ONE_TO_ONE operation, with the CLOSEST match option, a Distance Field Name called DistZone, and a search radius of 2 km.
The tool successfully adds a Zone attribute but no DistZone attribute.
The point shapefile has a lot of attributes (80), but I read that the max is 255, so that should not be the problem. All inputs are in the same coordinate system.
This was working successfully for me yesterday, and now it has stopped working. Any idea why the distance field is no longer being added?
UPDATE: I've answered my own question. Since the shapefile has so many attributes, I didn't realize that the DistZone field was being added all the way on the left, while the Zone field is added all the way on the right.