000842: The number of observations in your dataset (<value>) is larger than what corresponds to the spatial weights matrix (<value>).

Description

This tool assesses each feature within the context of neighboring features, where neighbor spatial relationships are defined by the spatial weights matrix. The spatial relationship definitions for some features in the specified dataset are missing from the spatial weights matrix. Missing entries often reflect that the spatial weights matrix file (.swm) does not correspond to the input feature class or that it is out of date.

Solution

Use the Generate Spatial Weights Matrix tool to re-create the spatial weights matrix for the input feature class.