<?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: Want to create a 'spatial lag' variable on a polygon fishnet in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/want-to-create-a-spatial-lag-variable-on-a-polygon/m-p/707288#M23440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Only the thought:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Convert polygons to lines, and only select lines with "-1" value (lines between polygons);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Convert slected lines to the points (the central of the line), then intesect those ponits and original polygons to get intesected points;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. In intesected point layer table (should have duplicate points -- intesected with same two polygons due to two polygon share mutipart lines, summarizing the line ID field,&amp;nbsp; and select First Polygon ID &amp;amp; Last Polygon ID; in the output table, create one new field to combinate First Polygon ID &amp;amp; Last Polygon ID fields, then summarizing this joined field to eliminate duplicates;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Summarizing the polygon ID field from step 3 point layer (after eliminate duplicates) to get the sourrounding polygon count number, then join back to the original fishnet polygon layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Oct 2013 20:38:31 GMT</pubDate>
    <dc:creator>TOMKONG</dc:creator>
    <dc:date>2013-10-26T20:38:31Z</dc:date>
    <item>
      <title>Want to create a 'spatial lag' variable on a polygon fishnet</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/want-to-create-a-spatial-lag-variable-on-a-polygon/m-p/707287#M23439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have about 230 shapefiles which are polygon fishnets. For each fishnet there is a variable called 'foo' in the attribute table and each cell, or feature, has a value of 1 or 0. What I want to do is go through each shapefile and add a new variable 'bar' which is, for each feature, the count of the surrounding features where foo ==1. Could someone please explain to how to go about doing this, and if possible how it can be automated? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My purpose for doing this is to create a 'spatial lag'. When I'm done, I'm going to be exporting the attribute tables into Stata or R to conduct more traditional statistical analysis. If there is a simpler way or an existing tool that creates spatial lags in a more sophisticated way, please let me know. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 23:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/want-to-create-a-spatial-lag-variable-on-a-polygon/m-p/707287#M23439</guid>
      <dc:creator>NicholasSeltzer</dc:creator>
      <dc:date>2013-10-25T23:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Want to create a 'spatial lag' variable on a polygon fishnet</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/want-to-create-a-spatial-lag-variable-on-a-polygon/m-p/707288#M23440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Only the thought:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Convert polygons to lines, and only select lines with "-1" value (lines between polygons);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Convert slected lines to the points (the central of the line), then intesect those ponits and original polygons to get intesected points;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. In intesected point layer table (should have duplicate points -- intesected with same two polygons due to two polygon share mutipart lines, summarizing the line ID field,&amp;nbsp; and select First Polygon ID &amp;amp; Last Polygon ID; in the output table, create one new field to combinate First Polygon ID &amp;amp; Last Polygon ID fields, then summarizing this joined field to eliminate duplicates;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Summarizing the polygon ID field from step 3 point layer (after eliminate duplicates) to get the sourrounding polygon count number, then join back to the original fishnet polygon layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 20:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/want-to-create-a-spatial-lag-variable-on-a-polygon/m-p/707288#M23440</guid>
      <dc:creator>TOMKONG</dc:creator>
      <dc:date>2013-10-26T20:38:31Z</dc:date>
    </item>
  </channel>
</rss>

