I've been using positionAlongLine to create points that are supposed to line up with the lines from which they are derived.
When I tried to use SpatialJoin_analysis with the match_argument set to "INTERSECT" , I'm not getting all of my points represented in the output point set. After zooming in ridiculously far on an example of one of my errant positionAlongLine-generated points and the original linework, I can see that the point is 0.000025 meters away from the line that it is based on.
I really just want my SpatialJoin_analysis to work with "INTERSECT". I've tried specifying a search_radius of 1 with no improvement in results. Short of continuing to use "CLOSEST" as a workaround, which is a bit cheesy, I'm wondering if there is a way to improve the precision of the coordinates I get with positionAlongLine or the NumPyArrayToFeatureClass I use to bring the coords back into ArcGIS to create the points featureclass. I'm also happy to do something to make the SpatialJoin_analysis handle the gap, too.
---Update 1---
Tried @radouxju's suggestion. Can't seem to get NumpyArrayToFeatureClass to create anything w/in a FD. Results just appear at top of fgdb (w/no warnings, which seems odd). Copying the source FC to the top of the fgdb and then doing the analysis doesn't remove the shift.
Going to isolate the point geometry in my numpy array to see if that's the source of the error.
Guessing the solution will not be to fix this, but to improve the SpatialJoin....
---Update 2---
Checked the coordinates in my numpy array and they do fall on top of the line (at least as close as I can visually verify), but NumpyArrayToFeatureClass is not honoring the full precision (dropping decimal places) in the points of the featureclass it creates.

NumPyArrayToFeatureClassseemed to require that the array be loaded back into the top level of the fgdb--was thinking because the function uses a spatialReference as an arg. Still a little odd. Didn't seem to make a difference that the SR of the FD and the array matched. I'll fool around with that a bit and report back. – Roland Jan 31 '14 at 22:17