I have two point feature classes (PointsA and PointsB) and one completely contiguous polygon feature class that cover all the points. For each point in PointsA I need to find the closest point from PointsB that is within the same polygon.
I feel like I need to use an iterator in model builder to iterate through each feature in PointsA - select the polygon the point is in, then select the points from PointsB within that selected polygon, and then some how add the value of the closest point from that selected group of points to the feature from PointsA, and then iterate to the next.
However, I am using 10.2 standard edition and do not have the near tool.
A Spatial Join using "closest" seems like it would work, but I don't believe I can apply that feature by feature in an iterator, can I?
Any suggestions are welcome.