Spatial Join not working in ModelBuilder, works manually

156
1
01-29-2013 03:00 PM
DavidHockman-Wert
New Contributor II
Hello,

Has anyone experienced this problem?

I am running Spatial Join in a ModelBuilder model.  (I am running ArcInfo 10.0 sp 5.)  One of my Spatial Joins is not joining correctly and provides incorrect output.  (Other Spatial Joins in the same model are running correctly, however.)

However, when I run the same Spatial Join manually (outside of ModelBuilder), it works.

The one that is running in ModelBuilder appears to be behaving as if it has the Spatial Join bug that was introduced in sp 4.  (I.e., the SJ that is not working has features that do not match one to one, which led to null output due to the bug.)  But when run manually, it works fine.

If anyone has any ideas, I'd appreciate hearing them.

Thanks,
Dave
0 Kudos
1 Reply
SanwaraneeKarunaratne
New Contributor
Have you tried repairing the geometry before you did the join? Is the projection correct?
0 Kudos