AnsweredAssumed Answered

Errors with using Weight Matrix

Question asked by pkoppels on Dec 7, 2016
Latest reply on Dec 9, 2016 by pkoppels

Hello, I hope someone can help me with the following issue.

I'm trying to run various procedures from the spatial statistic toolbox (e.g. Morans I) that require a weight matrix. For this I have created a weight matrix file through the 'Generate Spatial Weights Matrix' tool. However, when I load this Weight Matrix in the 'Spatial Autocorrelation' tool I get the following error message: ValueError too many variables to unpack. The strange thing is that if I specify exactly the same weight matrix directly in the 'Spatial autocorrelation' tool it works fine. However, I want to specify a specific weigh matrix that can only be created with 'Generate Spatial Weights Matrix' tool and not ‘inside’ the 'Spatial Autocorrelation' tool itself. Any ideas what might be causing this, because I have experimented a lot, but can’t figure it out. Thanks!