<?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 Using editor clip function in arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562821#M44013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have got a polygon shape with overlapping features. Using the clip tool of the editor (not "toolbox -&amp;gt; analysis tools -&amp;gt; clip"!) will get me the correct result. Now I want to use editor clip with arcpy, but I can't find it. Does anybody know, if this function exists in arcpy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Erase" would be an option, but I don't want to create a new shape file for the output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2015 13:05:44 GMT</pubDate>
    <dc:creator>StefanKaps1</dc:creator>
    <dc:date>2015-04-22T13:05:44Z</dc:date>
    <item>
      <title>Using editor clip function in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562821#M44013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have got a polygon shape with overlapping features. Using the clip tool of the editor (not "toolbox -&amp;gt; analysis tools -&amp;gt; clip"!) will get me the correct result. Now I want to use editor clip with arcpy, but I can't find it. Does anybody know, if this function exists in arcpy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Erase" would be an option, but I don't want to create a new shape file for the output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 13:05:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562821#M44013</guid>
      <dc:creator>StefanKaps1</dc:creator>
      <dc:date>2015-04-22T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using editor clip function in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562822#M44014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain exactly what the correct result is, and why editor clip or Erase would work? Is it that you want to clip based on certain features, not all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suspect you're looking for arcpy cursors and polygon difference&amp;nbsp; (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018z00000061000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//018z00000061000000&lt;/A&gt;&lt;SPAN&gt;), but need more info.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 14:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562822#M44014</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-04-22T14:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using editor clip function in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562823#M44015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Darren,&lt;/P&gt;&lt;P&gt;I've got a polygon shape with 2 polygons. Polygon A is located below polygon B. Now I want the geometry of B within Polygon A. The thing is, that I don't want to create a new shapefile, like toolbox "Union" or toolbox "Erase" are doing it... Everything should be done within the input polygon shape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct tool within arcgis is the clip function of the editor. But in arcpy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 08:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562823#M44015</guid>
      <dc:creator>StefanKaps1</dc:creator>
      <dc:date>2015-04-23T08:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using editor clip function in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562824#M44016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say one polygon shape with two polygons, do you mean one multipart polygon, or two overlapping polygons within the same feature class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like you're looking for the intersect method within the polygon object(s).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562824#M44016</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-04-23T13:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using editor clip function in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562825#M44017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two overlapping polygons within the same feature class. I will try the above mentioned polygon methods and let you know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 06:28:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562825#M44017</guid>
      <dc:creator>StefanKaps1</dc:creator>
      <dc:date>2015-04-24T06:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using editor clip function in arcpy</title>
      <link>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562826#M44018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I think I need a hint, because i am a bit stuck... Here is an illustration of my problem:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="polygon.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/88766_polygon.PNG" style="width: 620px; height: 500px;" /&gt;&lt;/P&gt;&lt;P&gt;- One feature class with overlapping polygons&lt;/P&gt;&lt;P&gt;- I want the geometry and the attributes of the red area within the yellow and the blue one - no overlapping anymore&lt;/P&gt;&lt;P&gt;- I don`t want a new output file - everything has to be done within the original shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the union method of the polygon object could be the solution but I don't know how to call it. Do i need to loop through the geometry objects? Has somebody a code snipplet whith something simelar (e.g. polygon methods)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 12:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-editor-clip-function-in-arcpy/m-p/562826#M44018</guid>
      <dc:creator>StefanKaps1</dc:creator>
      <dc:date>2015-04-24T12:07:37Z</dc:date>
    </item>
  </channel>
</rss>

