<?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 Python and Geometry in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361812#M28562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to find a tutorial on using the Geometry and Cursors but I can't find anything.&amp;nbsp; Can anybody point me in the direction of one?&amp;nbsp; All I've been able to find are the ESRI presentations saying it's possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do something like the below code extract:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for row in arcpy.da.SearchCursor(poly, ("OBJECTID", "SHAPE@")):
 if row[0] == 82:
&amp;nbsp; geom = row[1]
&amp;nbsp; for point in arcpy.da.SearchCursor(point, ("SHAPE@")):
&amp;nbsp;&amp;nbsp; pgeom = point[0]
&amp;nbsp;&amp;nbsp; pgeom.intersect(geom,1)
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; **DO SOMETHING BASED ON THE INTERACTION OF THE POINT/POLY**&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 12:17:25 GMT</pubDate>
    <dc:creator>neilwebster</dc:creator>
    <dc:date>2012-09-24T12:17:25Z</dc:date>
    <item>
      <title>Python and Geometry</title>
      <link>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361812#M28562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to find a tutorial on using the Geometry and Cursors but I can't find anything.&amp;nbsp; Can anybody point me in the direction of one?&amp;nbsp; All I've been able to find are the ESRI presentations saying it's possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do something like the below code extract:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;for row in arcpy.da.SearchCursor(poly, ("OBJECTID", "SHAPE@")):
 if row[0] == 82:
&amp;nbsp; geom = row[1]
&amp;nbsp; for point in arcpy.da.SearchCursor(point, ("SHAPE@")):
&amp;nbsp;&amp;nbsp; pgeom = point[0]
&amp;nbsp;&amp;nbsp; pgeom.intersect(geom,1)
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; **DO SOMETHING BASED ON THE INTERACTION OF THE POINT/POLY**&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 12:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361812#M28562</guid>
      <dc:creator>neilwebster</dc:creator>
      <dc:date>2012-09-24T12:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Geometry</title>
      <link>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361813#M28563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=ddfa7bb180e54e9581d842743a032043"&gt;http://www.arcgis.com/home/item.html?id=ddfa7bb180e54e9581d842743a032043&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may find this presentation useful. There is simple explanation how to access geometry by cursor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 13:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361813#M28563</guid>
      <dc:creator>ArkadiuszMatoszka</dc:creator>
      <dc:date>2012-09-24T13:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Geometry</title>
      <link>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361814#M28564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I had seen that.&amp;nbsp; I was after a more detailed description.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 06:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361814#M28564</guid>
      <dc:creator>neilwebster</dc:creator>
      <dc:date>2012-09-26T06:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Geometry</title>
      <link>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361815#M28565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. This presentation + online arcpy help&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Reading_geometries/002z0000001t000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Reading_geometries/002z0000001t000000/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; - reading;&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Writing_geometries/002z0000001v000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Writing_geometries/002z0000001v000000/&lt;/A&gt;&lt;SPAN&gt; - writing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is all I got. Can you specify what exactly you want to achieve? Maybe then we could be more helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 07:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361815#M28565</guid>
      <dc:creator>ArkadiuszMatoszka</dc:creator>
      <dc:date>2012-09-26T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Geometry</title>
      <link>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361816#M28566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;this latest python group blog post also deals with creating geometries and the examples use cursors: &lt;/SPAN&gt;&lt;A href="http://arcpy.wordpress.com/2012/09/14/building-feature-classes-from-numpy-arrays/"&gt;http://arcpy.wordpress.com/2012/09/14/building-feature-classes-from-numpy-arrays/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 11:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-geometry/m-p/361816#M28566</guid>
      <dc:creator>ChristopherThompson</dc:creator>
      <dc:date>2012-09-26T11:30:55Z</dc:date>
    </item>
  </channel>
</rss>

