<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Errors with using Weight Matrix in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28486#M1017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not have a look at this &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-statistics-toolbox/convert-spatial-weights-matrix-to-table.htm"&gt;Convert Spatial Weights to Table&lt;/A&gt;&amp;nbsp;maybe that is a workaround&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 14:51:47 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-12-07T14:51:47Z</dc:date>
    <item>
      <title>Errors with using Weight Matrix</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28485#M1016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I hope someone can help me with the following issue.&lt;/P&gt;&lt;P&gt;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!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 11:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28485#M1016</guid>
      <dc:creator>PhilipKoppels</dc:creator>
      <dc:date>2016-12-07T11:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with using Weight Matrix</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28486#M1017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not have a look at this &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-statistics-toolbox/convert-spatial-weights-matrix-to-table.htm"&gt;Convert Spatial Weights to Table&lt;/A&gt;&amp;nbsp;maybe that is a workaround&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 14:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28486#M1017</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-12-07T14:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with using Weight Matrix</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28487#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. I have tried that as well, but it yields exactly the same error: ValueError too many variables to unpack. I have also imported a weight matric that I have generated outside (eith GeoDa) and tried to row standardize it with Generate Spatial Weights Matrix tool, but when I try to use the matrix I again get the same error. I think it might be a software issue and today I will try to the same procedure with a different computer. Let’s see if I get the same error…. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 07:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28487#M1018</guid>
      <dc:creator>PhilipKoppels</dc:creator>
      <dc:date>2016-12-08T07:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with using Weight Matrix</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28488#M1019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds like a python error or a similar error in another language...&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is how it is generated&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; a&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; b &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
Traceback &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;most recent call last&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 File &lt;SPAN class="string token"&gt;"&amp;lt;string&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; line &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;module&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
ValueError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; too many values to unpack &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;expected &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28488#M1019</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-10T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Errors with using Weight Matrix</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28489#M1020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My folder name contained ‘@’ symbol and that seems to have caused the error. After moving the files to a different folder the procedures worked as planned. Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 13:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/errors-with-using-weight-matrix/m-p/28489#M1020</guid>
      <dc:creator>PhilipKoppels</dc:creator>
      <dc:date>2016-12-09T13:14:50Z</dc:date>
    </item>
  </channel>
</rss>

