<?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: Spatial weights error in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-error/m-p/78996#M324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&amp;nbsp; It looks like you are spelling "EUCLIDEAN" wrong in your code, with an I at the end instead of an E.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 15:50:40 GMT</pubDate>
    <dc:creator>LaurenRosenshein</dc:creator>
    <dc:date>2011-07-26T15:50:40Z</dc:date>
    <item>
      <title>Spatial weights error</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-error/m-p/78995#M323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I�??m trying to create a simple inverse-distance based spatial weight matrix with a threshold distance of 1.1 degrees. I�??ve tried following the example given on &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005p00000020000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005p00000020000000.htm&lt;/A&gt;&lt;SPAN&gt;, but I can�??t get it to work for some reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here�??s the code I�??m trying in the Python command window (using ArcGIS 10):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.workspace = "E:/data/GIS"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.GenerateSpatialWeightsMatrix_stats("counties_mainland_Project.shp","county_fip","spatial_weights_0811.swm","INVERSE_DISTANCE","EUCLIDIAN","1","1.1", 1,"ROW_STANDARDIZATION")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first two lines run ok. Here�??s the error I get when I try the third line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error &amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: Failed to execute. Parameters are not valid. ERROR 000308: Invalid field type ERROR 000800: The value is not a member of EUCLIDEAN | MANHATTAN. Failed to execute (GenerateSpatialWeightsMatrix).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m also not 100% sure I�??m specifying the rest of the command correctly. Any help would be much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 17:09:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-error/m-p/78995#M323</guid>
      <dc:creator>TatyanaDeryugina</dc:creator>
      <dc:date>2011-07-23T17:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial weights error</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-error/m-p/78996#M324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&amp;nbsp; It looks like you are spelling "EUCLIDEAN" wrong in your code, with an I at the end instead of an E.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 15:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/spatial-weights-error/m-p/78996#M324</guid>
      <dc:creator>LaurenRosenshein</dc:creator>
      <dc:date>2011-07-26T15:50:40Z</dc:date>
    </item>
  </channel>
</rss>

