Any idea why this doesn't seem to work with the Spatial Join tool in the toolbox? I'd like to script this, but can't seem to figure it out.
Basically, I have a bunch of points and a few polygons. I just want to assign a value to a field in the point feature class based on the polygon the point happens to be within. Spatial join appears to only join each target feature once? Oddly, the JOIN_FID field is correct for all of the points, but I get no metadata from the polygon?!? (I just get a bunch of nulls)
Any idea why this doesn't seem to work with the Spatial Join tool in the toolbox? I'd like to script this, but can't seem to figure it out.
Basically, I have a bunch of points and a few polygons. I just want to assign a value to a field in the point feature class based on the polygon the point happens to be within. Spatial join appears to only join each target feature once? Oddly, the JOIN_FID field is correct for all of the points, but I get no metadata from the polygon?!? (I just get a bunch of nulls)