<?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: Clipping polygons in a shapefile in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/clipping-polygons-in-a-shapefile/m-p/214549#M16527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you want to clip one polygon layer based on say priority = 1 of your other polygon layer, or clip based on each possible priority in the feature class? Yes you can do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make a feature layer with a where clause of the features you want to clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enclose in a for loop if you want to do different where clauses base on variable values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 13:06:12 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2012-02-23T13:06:12Z</dc:date>
    <item>
      <title>Clipping polygons in a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/clipping-polygons-in-a-shapefile/m-p/214548#M16526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have posted this question in the Editing forum but I thought this would be done in Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have several polygons in a shapefile with the &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;Priority field&lt;/SPAN&gt;&lt;SPAN&gt;. Is it possible that we can write Python code to clip the polygons based on &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;this field&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeffrey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 12:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clipping-polygons-in-a-shapefile/m-p/214548#M16526</guid>
      <dc:creator>JeffreyVu</dc:creator>
      <dc:date>2012-02-23T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Clipping polygons in a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/clipping-polygons-in-a-shapefile/m-p/214549#M16527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you want to clip one polygon layer based on say priority = 1 of your other polygon layer, or clip based on each possible priority in the feature class? Yes you can do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make a feature layer with a where clause of the features you want to clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Clip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enclose in a for loop if you want to do different where clauses base on variable values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 13:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/clipping-polygons-in-a-shapefile/m-p/214549#M16527</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-02-23T13:06:12Z</dc:date>
    </item>
  </channel>
</rss>

